Dear All,
We are developing the application using TM4C1231H6PM microcontroller.
In our application two boards are connected with each other using RS485
Card 1 has SD card interface, Keypad and Display.
Card 2 is without SD card interface, Keypad and Display
As per application requirement, user supposed to access the Display menu during runtime on Card 1 and will upgrade the Card1 & Card2 firmware by selecting the file in SD card
During programming if power goes OFF, then during next boot up, Card 1 should be in a position to detect the situation and should prompt user about same and should allow user to reprogram the either card 1 or card 2 by selecting the file in SD card
To cater above requirements, we are thinking of developing following two projects linked at two different addresses
1) Application project
2) Boot loader project
During production we will program the microcontroller with two bin files
Possible Flow chart of both the projects
1) On boot up, Boot loader project will first check the presence of application project by validating CRC.
2) If same not present, then boot loader project will prompt user about same and boot loader project will allow user to program Application project bin file present in SD card and will prompt user to restart the system
1) On boot up, Boot loader project will found presence of application project by validating CRC, then it will call the Application project
1) In application project, when user access the display menu for upgrading the application project bin file, then Application project will call the Boot loader project.
Our Queries:
1) The approach which we are thinking is possible to implement?
2) Will it be possible to program two bin files in microcontroller?
3) Will it be possible to call one file from another and vice versa? What care we need to take for same?
4) Does Code composer Studio, has the facility to compute CRC of bin file and embed same in the bin file?
5) If the approach which we are thinking is not possible to implement, then which are the other possible options, which we can use to implement the required functionality?
Thanks...