Jun 21, 2020
11:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 21, 2020
11:54 PM
I have two programs one for bootloader and one for application program.
And i also disable all the interrupts before i jump from bootloader to application program.
When i initialise a peripherie part (i.e. lcd) of the application program in the bootloader and make a jump to the application program,
then the peripherie part of the application program goes into an endless while loop. The application program reinitialise the peripherie part again...
But when i initialise the peripherie part only in the application program and do the same procedure above then everything works fine.
Can someone explain me why is that happen and how can i solve this problem?
Do i have to execute a reset before application program starts? (maybe this can solve my problem)
Thx
And i also disable all the interrupts before i jump from bootloader to application program.
When i initialise a peripherie part (i.e. lcd) of the application program in the bootloader and make a jump to the application program,
then the peripherie part of the application program goes into an endless while loop. The application program reinitialise the peripherie part again...
But when i initialise the peripherie part only in the application program and do the same procedure above then everything works fine.
Can someone explain me why is that happen and how can i solve this problem?
Do i have to execute a reset before application program starts? (maybe this can solve my problem)
Thx
0 Replies
This widget could not be displayed.