Hello,
I want to create/compile a (Nordic) secure bootloader with serial output.
I know the example of the dfu secure_bootloader. I also know there is a nomal and a debug variant.
I have two problems:
1) What defines do I need to set to debug out of serial port?
Default example is for RTT. I already tried to set similar defines for UART logging in config files of bootloader,
but got e.g. a undefined reference to a init function. Is there a list or documentation what defines are needed?
2) I have changed linker script to have more flash space for bootloader.
Can you give me a few hints about side effects of this change?
Is it just giving bootloader moe space, so I have less space for the app?
At the moment no problem for me, because app is small.
Or is app not more possible, because I use the flash space of the app?
But this would change behaviour because I want to debug bootloader as well as app at the same time,
e.g. switching from app down to bootloader and back to app.
Main goal would be to be able to understand and debug upcoming problems of the bootloader.
And customer must be able to deliver logs, which he can do only via UART, as no JTAG is available for the customer.
Best regards,
Marie