Im using an nrf7002-dk. Whenever build like this:
"west build --pristine -b nrf7002dk/nrf5340/cpuapp/ns"
theres no serial monitor output.
Ive tried both VCOM0 and VCOM1, the print() statements ive added to main() simply dont show.
I've been around in loops with the DevZone AI chat bot, and nothing it suggests has managed to solve this problem. I've created board overlays, tfm overlays, been through many different variations of kconfigs, tried sending the output to RTT instead of VCOM, it just will not print anything to tany of the consoles when I do an _ns build.
Can somebody with an nrf7002-dk please reproduce the following and tell me a solution if you have one:
- Create a new application, copy from sample "Hello World"
- Build and flash with the following command: west build --pristine -b nrf7002dk/nrf5340/cpuapp && west flash ... you will see the "Hello World" message in the console
- Build and flash with the following command: west build --pristine -b nrf7002dk/nrf5340/cpuapp/ns && west flash ... you will see no output to the console.
I still believe that there is a solution to this, perhaps it involves mapping some pins on the device so that the tf-m virtual com is mapped to the regular uart virtual com. I have no idea, but I am not experienced enough to start remapping pins, especially when the AI chat bot is reassuring me that it isnt necessary.