This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mbed with custom pcb

Hey,

For my project I wrote and tested (w/ nRF51 DK) all firmware in mbed. I also made a custom PCB w/ the nRF51822 CEAA chip based on the 4 layer reference design provided by Nordic.

The problem comes when I program my custom board w/ the mbed firmware. I can't even blink an LED. However when I program using code written in keil everything works. I use nRFgo studio w/ jlink to program the chip and when I program w/ mbed it shows the softdevice and application programming fine but nothing happens.

Any ideas?

Thanks!

Parents
  • Are you sure the MBED compiled firmware is being correctly uploaded to your board? How are you getting it on there, does your board appear as a Mass Storage Device or are you using Segger to upload MBED-compiled code to it?

    Since you seem to be able to use JLink to connect to the custom board, have you tried dumping out the flash and ensuring that you do in fact have the code you expect on it. You could compare it to a similar dump of your DK after MBED programming. Check both your application code and the softdevice .. and the UICR whilst you're at it.

    Other options, upload your MBED code, connect a JLink, halt, reset and go and then halt and find out where you are, that might possibly give you a clue as to what your board's up to.

Reply
  • Are you sure the MBED compiled firmware is being correctly uploaded to your board? How are you getting it on there, does your board appear as a Mass Storage Device or are you using Segger to upload MBED-compiled code to it?

    Since you seem to be able to use JLink to connect to the custom board, have you tried dumping out the flash and ensuring that you do in fact have the code you expect on it. You could compare it to a similar dump of your DK after MBED programming. Check both your application code and the softdevice .. and the UICR whilst you're at it.

    Other options, upload your MBED code, connect a JLink, halt, reset and go and then halt and find out where you are, that might possibly give you a clue as to what your board's up to.

Children
No Data
Related