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) / 下载次数 1745
http://forums.xgecu.com/attachment.php?aid=1836&k=5fdc0eb953c071da1606a6cf4f005835&t=1714090488&sid=m5V36Z



图片附件: T48.png (2023-5-25 23:33, 107.2 KB) / 下载次数 1732
http://forums.xgecu.com/attachment.php?aid=1837&k=466b5725c2f83ca4415341d56ef9dcc0&t=1714090488&sid=m5V36Z


作者: 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) / 下载次数 1694
http://forums.xgecu.com/attachment.php?aid=1839&k=6e3a8ae4ec01f79099edf2fc7a7cf095&t=1714090488&sid=m5V36Z



图片附件: 1.png (2023-5-26 09:08, 26.77 KB) / 下载次数 1732
http://forums.xgecu.com/attachment.php?aid=1840&k=6eb300ddb9ed82261b564e6f600579bd&t=1714090488&sid=m5V36Z


作者: 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