@@ -810,4 +810,16 @@ Well, I think I might be writing into memory, but I've no way of reading it out
I suspect I am writing into some bad spaces. This code (which *is* better) is expecting a pointer to a uint32, not the actual 'raw' uint32 addr... and I was previously trying to write to 0xF0000000 which is well out of range, I meant to do 0x10000000...
To clarify, I'll write the base fns with real void* rs...
\ No newline at end of file
To clarify, I'll write the base fns with real void* rs... or in uint32_t addresses, as uint32_t s...
Have isolated down to this `((uint32_t*)dst)[i] = ((uint32_t*)src)[i];` call... I suspect I'm pointing at something poorly. And I still get the sense I'm writing into the bootloader block.
OK, I can read out of the start_addr, but after I've written to it, cannot do this anymore - processor hangs. Altho:
`// bossac writes at 0x20005000`
so that should be OK, I'm writing at 0x1... tho this program uses 42kb, but indeed once I've done the flash write, the bootloader fails. Tried writing at the lut address, fails also.
I don't know what is real anymore, the libraries failed me, the datasheet is opaque AF, I am writing somewhere I shouldn't, etc. Might be time to bring out the atmel studio guns.
Or the small guns: I'm going to try to get a minimum viable something up with this library.