mega1284p stop booting ( starting)

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

a few mega1284p with RS422( addressed) modules connect on the same rs422 communication line, after power off/on ( slow ram up power supply), most time they all working fine, but a few times one module drop off, and never come back, no matter how many times reset.

verify the flash and eeprom to check firmware, there is no firmware corruption.

the fuse configure is:

re program the board, it back to work as normal.

any idea why it happened? is there anything with boot loader? Thanks

Last Edited: Wed. Oct 18, 2017 - 10:01 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My guess (given next to no information) is that you have an atomicity problem with your code.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Also use the BOD and add more delays at start up in your code to make sure all the devices are fully awake before starting to communicate.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly