A general question about peripherie ????

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16815
Level 1
Level 1
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
0 Likes
0 Replies