I have a BMD 350 nrf52832 module connected to nrf52DK board via P20 header.
I am using nrf52DK to flash the firmware onto BMD350.
my code works with nrf52DK and it logs onto the RTT via vscode.
But when I flash BMD350 and open the RTT it doesn't log anything with the same exact firmware.
I am using the same build configuration as both are nrf52832 based.
Am I missing something here?
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/sys/printk.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(main);
void main(void)
{
LOG_INF("Hello from BMD-350 via RTT!");
while (1) {
k_sleep(K_SECONDS(1));
LOG_INF("Ping");
}
}
Here is my prj.conf
BMD 350 is powered externally
| DK Pin | BMD-350 Pin |
| ------ | ----------- |
| VTG | VDD |
| SWDIO | SWDIO |
| SWDCLK | SWDCLK |
| GND | GND |