I can't find how to reset ATMEGA 328. Any suggestions ?
THKS
Reset ATMEGA 328
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: Reset ATMEGA 328
Hi,
You may find this thread useful:
http://forum.mikroe.com/viewtopic.php?f ... 28#p177747
Best regards,
Lana
You may find this thread useful:
http://forum.mikroe.com/viewtopic.php?f ... 28#p177747
Best regards,
Lana
Re: Reset ATMEGA 328
I trying with this codes, but - don't work.
THKS however.
THKS however.
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: Reset ATMEGA 328
Hi,
Can you tell me which hardware do you use?
If you wish to use the hardware reset, you can use standard reset circuit as in Ready for AVR :
http://download.mikroe.com/documents/st ... c-v100.pdf
The software reset, using an asm instruction, does not exist for the AVR architecture, but you may find useful the following link :
http://www.atmel.com/webdoc/AVRLibcRefe ... reset.html
Best regards,
Lana
Can you tell me which hardware do you use?
If you wish to use the hardware reset, you can use standard reset circuit as in Ready for AVR :
http://download.mikroe.com/documents/st ... c-v100.pdf
The software reset, using an asm instruction, does not exist for the AVR architecture, but you may find useful the following link :
http://www.atmel.com/webdoc/AVRLibcRefe ... reset.html
Best regards,
Lana
Re: Reset ATMEGA 328
lana.arsic wrote:Hi,
Can you tell me which hardware do you use?
If you wish to use the hardware reset, you can use standard reset circuit as in Ready for AVR :
http://download.mikroe.com/documents/st ... c-v100.pdf
The software reset, using an asm instruction, does not exist for the AVR architecture, but you may find useful the following link :
http://www.atmel.com/webdoc/AVRLibcRefe ... reset.html
Best regards,
Lana
I use ARDUINO NANO with MEGA 328P. Hardware reset is not problem, soft Reset i need. But, i have some pins not used, so i can make "hardware" reset and no problem. THKs lana.arsic.