L.R.A 78 Posted January 10, 2016 Share Posted January 10, 2016 Hi everyone,I am trying to make a custom boot loader. Yes I know there is one in Tivaware - getting some out of it.I was making a small test.I compile a application code and a bootloader code.The app code starts at flash 0x4000. I converted the binary into a C array.With this I was able to add to the boot test code, that same array and then copy it to flash at 0x4000. I checked the memory and everything seems I was copie as it should.After that I change the vector table address to 0x4000 - the application code vector table address - and jump the PC to 0x4000.The problem is that after 2 instructions the code jumps to 0x0 and then it just goes into somewhere in the RAM.Anyone got any idea what could be happening? Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.