Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version v1.05-2015-12-29 with mega2560 #3

Open
KKuKK opened this issue Jun 23, 2022 · 0 comments
Open

version v1.05-2015-12-29 with mega2560 #3

KKuKK opened this issue Jun 23, 2022 · 0 comments

Comments

@KKuKK
Copy link

KKuKK commented Jun 23, 2022

Hi!

I know this question is as old as the universe, but I read all I can find and now
running low on options.

Problem:

  • flash size of my code is 64 kb.

  • I flashed with the software on the usbasp, a chinese programmer, I changed nothing

  • it works for 1 year, until now, suddenly the mega is not running after upload, at least sometimes

  • I don't know why, but rigth now the mega is running ok

  • I read the flash of the mega with the same usbasp programmer, all bytes are 0xFF

  • I found your code and updated the usbasp firmware to version v1.05-2015-12-29

  • I read this will solve the problem with the restrictions with the large flash size of the mega

  • I read the flash again, now with I think valuable content, but here is the thing

    I get exact 32768 Byte from address 0x00000 - 0x07FFF, then the next 32768 Byte are 0xFF
    I get exact 32768 Byte from address 0x10000 - 0x17FFF, then the next 32768 Byte are 0xFF
    I get exact 32768 Byte from address 0x20000 - 0x27FFF, then the next 32768 Byte are 0xFF
    I get exact 32768 Byte from address 0x30000 - 0x37FFF, then the next 32768 Byte are 0xFF

all 32768 Byte of each block are identical !

So this falsh should never work, because only 32768 byte of my code is written into flash, 4 times
starting at 0x00000,0x10000,0x20000,0x30000

But the code is running without errors, therefore the usbasp has to be the problem.
This Version 1.05 is still not working with the mega2560.

I tried highfuse 0xD8 and 0xD9, no difference.
Right now it is running with Low Fuse 0xFF, High Fuse 0xD8, Extended Fuse 0xF8 ok.

In the readme file is a hint to version v1.06, but I cannot find this HEX file.
I downloaded all content here, but there is no version 1.06 to find.

Again, I know this is old stuff, but for me realy important, because I don't want to upload
my code again with the version 1.05, because it is not reading the flash correctly.
So I assume it will not upload the code corectly.

I realy would appreciate an answer, but I realy would not be upset if I don't get one :-)

Ich bin aus Deutschland, also auch in Deutsch ist jede Hilfe willkommen :-)

Gruß Klaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant