Board logo

标题: T48 Unable to program with Atmega328P [打印本页]

作者: digi555    时间: 2023-5-25 23:37     标题: T48 Unable to program with Atmega328P

T48.png

图片附件: T48 SelfTest.png (2023-5-25 23:33, 97.62 KB) / 下载次数 5606
http://forums.xgecu.com/attachment.php?aid=1836&k=e8266fda8ef9fdbd58eadc9cd4d2d22a&t=1732540762&sid=okp3KS



图片附件: T48.png (2023-5-25 23:33, 107.2 KB) / 下载次数 5764
http://forums.xgecu.com/attachment.php?aid=1837&k=6d2b5dcf4c748cd752056497dd563587&t=1732540762&sid=okp3KS


作者: admin    时间: 2023-5-26 08:58

回复 1# digi555

EEPROM write error.
when high Fuse EESAVE bit is programmed as 0.  Chip_erase can not reset EESAVE bit.

1.png

1. Program High fuse (config) EESAVE =1, (with default fuse), without choice EEPROM when programming.
2. then it can be progammed normal.
1.png

图片附件: 1.png (2023-5-26 09:06, 47.65 KB) / 下载次数 5544
http://forums.xgecu.com/attachment.php?aid=1839&k=7546c0aa3eb4f7bd4a6634e025f6b394&t=1732540762&sid=okp3KS



图片附件: 1.png (2023-5-26 09:08, 26.77 KB) / 下载次数 5518
http://forums.xgecu.com/attachment.php?aid=1840&k=12c4a2211b1535ae424fd731935ebe49&t=1732540762&sid=okp3KS


作者: digi555    时间: 2023-5-26 14:09

Thank you for your authoritative comments.
I found the source of the problem.
During programming, some data that should not be written to the EEPROM is written. For this reason, an error occurs during Verify.
And the programming cannot be completed.

If the EEPROM option is not activated before programming as you suggest, the programming is completed without any problems.

Note: This issue only exists with the T48. No problems with the TL866II plus.




欢迎光临 XGecu Programmer Forums (http://forums.xgecu.com/) Powered by Discuz! 7.2