EA5JAQ wrote: ↑Thu Oct 20, 2022 7:36 amI'll check that out, thank you. So if I just put the application at 0x00000000 I don't need a bootloader?VK3KYY wrote: ↑Thu Oct 20, 2022 7:16 amI recommend you change the linker file and put the application at 0x00000000, and flash it via SWD.
In which case you will also need to make the 2 codec section bin files, to replace the dummy files, and use the direct output from the build process, and not the result of the codec cleaner exe, which clears anything in the 2 codec sections, so that none of the released files contain the AMBE codec.
Maybe if it's also possible to change the firmware's USB communication to whatever system my stock cable uses, I won't have to modify the hardware at all. I'll try to find out, but in the source code I see a lot of files about USB communication, so maybe this is too hard and it's not like changing from one pin to another. I'll investigate and see if it takes less effort to change the code or the hardware.
I've already made the 2 codec sections by copying them from my DM-1810 MCU ROM backup with the lastest beta.
I just realised that without USB, you can't upload the codeplug
The CPS will be OK, because the firmware makes the radio a USB serial device, but you will need to change the firmware to use a serial port in the MK22 MCU.