View previous topic :: View next topic |
Author |
Message |
Carlos
Joined: 16 Mar 2006 Posts: 19
|
Posted: Sun Oct 04, 2020 11:34 am Post subject: BASCOM 2083 EEPROM Programming fails |
|
|
Hello,
I have now noticed an error when programming the EEPROM with BASCOM 2083:
the programming of the EEPROM is wrong. I use the "MYSMARTUSB LIGHT" programmer.
The programming of EEPROM (Mega8, Mega 644, Mega 1228) works correctly under
BASCOM 8081/8082, but no longer under BASCOM 8083.
Have any of you had similar problems?
Best regards
(BASCOM-AVR version : 2083 , Latest : 2.0.8.3 ) |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Sun Oct 04, 2020 12:49 pm Post subject: Re: BASCOM 2083 EEPROM Programming fails |
|
|
From the titel:
Quote: | EEPROM Programming fails | it seemed that any EEPROM programming is not possible.
Carlos wrote: | the programming of the EEPROM is wrong. | sounds in contrary like incorrect values.
What is actually the case?
If it is about incorrect values, why don't you have the minimum courtesy to show the EEPROM data you write, and the data you read with Bascom 2.0.8.3 and 2.0.8.1 or .2.
Quote: | BASCOM 8081/8082, but no longer under BASCOM 8083. | There's no such like Bascom 8081/82/23, there's Bascom 8085 for a different species of controller.
Quote: | Have any of you had similar problems? | We all have some, I can't understand yours. |
|
Back to top |
|
|
Dibor
Joined: 04 Dec 2004 Posts: 137 Location: ISRAEL
|
Posted: Sun Oct 04, 2020 2:18 pm Post subject: |
|
|
Looks like he is means versions: 2081/2082/2083 |
|
Back to top |
|
|
Carlos
Joined: 16 Mar 2006 Posts: 19
|
Posted: Sun Oct 04, 2020 2:24 pm Post subject: BASCOM 2083 EEPROM Programming fails |
|
|
Hello,
here is the excerpt of the result after the
EPROM programming from BASCOm 2083:
and here is the excerpt of the result after the
EPROM programming from BASCOm 2082:
the difference is clearly visible.
Flash memory and fuses are ok
best greatings |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Oct 04, 2020 4:20 pm Post subject: |
|
|
i had a look. indeed this is a bug.
the myavr programmer uses the stk500v2 protocol. but they do not proper support the load address function. this will reset the address some how. normally you only load the address when you skip empty blocks. but the myavr programmer seems to use auto increase. so in a previous version where programming was speeded up by skipping empty blocks, this broke the myavr programmer. that was corrected in 2083 but this broke the eeprom programming. so now i made separate code for the stk500 and the myavr.
i will make a patch available later after some more testing. _________________ Mark |
|
Back to top |
|
|
Carlos
Joined: 16 Mar 2006 Posts: 19
|
Posted: Sun Oct 04, 2020 4:33 pm Post subject: |
|
|
Thanks Mark,
that you looked at this.
it was again a very quick answer from you! |
|
Back to top |
|
|
|