VERSION: ARM DS-5 v5.24.0
In the older version ARM DS-5 v5.23.1, I was able to push a block of executable code to 0xC0000000 using the Base_AEMv8A->Bare Metal Debug->Debug ARMAEMv8-A
target. I could write a blob of assembly and BLR X0 <- X0 = 0xC0000000.
This worked just fine.
Now it's attempting to branch and causing an exception.
Last time (previous version), I had to hunt down the documentation (which is a nightmare to find) and locate the memory map. Is 0xC0000000 no longer mapped to SRAM?
Thanks,
geno
ok so after a bunch of testing, and digging i found that it was an issue with the debugger.
so, it was actually branching to the address, but not updating the Dissasembly window.
i redid the test with a br x0 and it worked perfectly. but if i changed it to a blr, it didn't update the window, so i thought the address was invalid, when actually it was ok.
clicking the 'next instruction' button in the disassembly window seemed to fix it? no idea why? but not it's magically working. i sent a ticket to ARM support on exactly what was going wrong.
i had a previous problem with addressing memory in the new sim, and after finding the datasheets i was able to locate sram and go from there.
thanks for looking at this!
genobpgh