Booting from SD card

95 views
Skip to first unread message

yosel.b...@gmail.com

unread,
Dec 12, 2018, 5:08:12 PM12/12/18
to zylin-zpu
Hi. I am using the ZPUflex and i add support for a FAT32 SDcard. The purpose is to store mi program in a file and later boot form there. The fat32 library is an adaptation from http://ultra-embedded.com/fat_filelib. I am trying to store the program at specific memory location and then jump to it. There are any assembler code to mov to an specific memory location and execute the data given there? Any one have another idea?

yosel.b...@gmail.com

unread,
Feb 27, 2019, 11:16:48 AM2/27/19
to zylin-zpu
I will make an answer to my question. The ZPUflex has a lot of examples on github that show how to make a bootloader. Basically, I am setting up the program counter in a specific memory location after copying my program to this address.
Reply all
Reply to author
Forward
0 new messages