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

Setting up project/jtag/libraries/nfc

Hi.

This is a bit of a combo question:

I recently got the nRF52 10040 and I'm trying out the included examples on uVision5. I only managed some examples to load on the board, while most others result in an error saying: Error: Flash Download failed - "Cortex-M4"

I don't understand the problem. I just load examples from the example browser, some work, some don't.

Since I got the ble uart peripheral app working I tried transferring the code from the nfc url tag example, but then libraries were missing. In the project explorer of the nfc example there is a nRF_NFC element which I need to add to the other project. I tried fiddling around but cannot find a way to add new elements there. In the end I managed to add it by manually putting it into the project files via notepad. How to add such elements via the IDE?

How is the NFC tag supposed to work? In a video from nordic it works by just putting a device near to the antenna and it starts an app or url. I tried doing that, but nothing ever happens. I tried using nfc tag reader apps, nothing is ever found. Can the NFC be configured as just a regular tag that does not do any particular action, just like a regular plastic tag so other apps can read the data?

Parents
  • 1) Make sure that you are using examples configured for the PCA10040 (located in a pca10040 folder). For examples using Bluetooth, you will need to flash the SoftDevice S132. Use nRFgo Studio(Win32 / Win64), and use the "Program SoftDevice" tab. You can find the SoftDevice in

    SDK_INSTALL_FOLDER/components/softdevice/s132/hex/
    

    After you have done that, use Keil to flash the example application.

    2) Adding files to a project can be done in Keil like this: Right click on a file group in the window Project and click on "Add existing files to Group". As shown in the picture. You also need to include the path for the files added; Options for Target->C/C++->Include Paths.

    image description

    3) The NFC antenna works as an NFC tag. The open URL example is located in

    SDK_INSTALL_FOLDER\examples\nfc\record_url
    

    Here the smartphone/tablet will try to open the URL "www.nordicsemi.com" in a web browser. Make sure that you have turned on NFC on the phone. If you just want to display text, take a look at the Text Record Example.

  • The link you gave me seems to be the same thing I already downloaded and installed the first place. Something else is not right.

Reply Children
No Data
Related