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

How do I use mbed to program for the PTR5518?

Hey all!

Newbie here. I developed and tested some code on an NRF51DK easily enough using mbed, and now I'm trying to put it onto a PTR5518 module from Xuntong (which I believe uses the NRF51822) so that I can test it out on a PCB. The problem is, when I try to load the same hex files that I used on the dk onto the 5518, it doesn't run. Not sure what's going on at the chip level, but I can't find the device on LightBlue (the app I'm using to test).

One of my friends told me that the issue was probably with the RAM; the NRF51DK has 32kB, while the PTR5518 only has 16. I tried compiling for the NRF51822 instead, as that matches my 16kB RAM requirement. I could find the device through bluetooth then, but the data wasn't what it should have been - I think my analog in might have been drawing from the wrong pin. Same deal with the RedBearLab nrf51822.

The thing is, I know that it's possible to compile for the PTR5518 because I found an old post (see below) where someone was clearly using it. So how do I do this?

developer.mbed.org/.../

tldr: I'm trying to use mbed to write firmware for a Xuntong ptr5518. How do?

Parents Reply Children
No Data
Related