avr-flash: wrong bod-settings read-out from compiler project

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
reb
Posts: 5
Joined: 14 Dec 2016 00:45

avr-flash: wrong bod-settings read-out from compiler project

#1 Post by reb » 05 Jan 2017 23:17

avr-flash does not correctly read-out the project setting "brown out detection (bod)" of atmega88

microbasic pro: 6.1.1
def-file: "ATMega88"

avr-flash: 2.1.4
device: "ATMega88"

operating system: win xp 32-bit

"edit profile" BOD (brown-out detection) entry --> results in bod "avr-flash" dialog-box entry as follows:

Code: Select all

disabled --> 4,3V
1,8V     --> 2,3V
2,7V     --> 1,8V
4,3V     --> disabled
in addition: avr-flash bod dropdown-list shows 4 entries "reserved"

additional information
compiler project edit dialog box shows:

Code: Select all

LOW      = 0x42 =  0100 0010
HIGH     = 0xDF =  1101 1111
EXTENDED = 0xF9 =  1111 1001
fuse bits erroneously swapped by avr-flash?

i didn't actual program the device because i am waiting for delivery of mikroe-programmer.

however, this shows that it would be fine if flash software could not only verify fuse bits but display (read-out) the actual hardware device state and a bit-map of fuse bytes.

(it's obscure, what goes wrong here... just the displayed bod-setting in avr flash dialog-box, progamming of fuse byte of the chip - or both.)

- - - -

for testing purposes, i've changed device to ATMEGA16 (which has 3 options of bod, and all features used in the program), rebuilt all files, and with that device it works correctly: avr flash shows the correct entry of compiler project settings

- - - -

btw: avr flash does not support SELFPRGEN bit of extended fuse byte for atmega88pa. (compiler devices: 88/88p/88a/88pa, avr flash devices: 88/88p).

- - - -

reb

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: avr-flash: wrong bod-settings read-out from compiler pro

#2 Post by lana.arsic » 06 Jan 2017 16:06

Hi Reb,

Welcome to the MikroE forum.

I'm sorry for the inconvenience caused by this issue,
I have reported it to our developers for more investigation.

Thank you for your feedback.

Best regards,
Lana

reb
Posts: 5
Joined: 14 Dec 2016 00:45

Re: avr-flash: wrong bod-settings read-out from compiler pro

#3 Post by reb » 19 Jan 2017 17:17

just waiting ...

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: avr-flash: wrong bod-settings read-out from compiler pro

#4 Post by lana.arsic » 20 Jan 2017 18:16

Hi Reb,

As soon as I get information, i will post it, but also
all information will be available on our roadmap:

http://docs.mikroe.com/AVR_compilers_roadmap

Thank you for your patience.

Best regards,
Lana

Post Reply

Return to “mikroBasic PRO for AVR General”