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

ant_io_tx_pca10040_s212_uart ?

Dear Members,

I opened this project ant_io_tx_pca10040_s212_uart.uvprojx in Keil,

How can I test it ?

NRF_LOG_INFO("ANT IO TX example started."); where can I see that message ?

I'm using nrf52840 board.

I have Garmin Edge to talk with,

Thanks for reading

Parents
  • I opened this project ant_io_tx_pca10040_s212_uart.uvprojx in Keil,

    How can I test it ?

    See documentation:
    https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ant_examples_io.html 

    NRF_LOG_INFO("ANT IO TX example started."); where can I see that message ?

    It depend on whether you have enabled UART or RTT as backend for logging, but you can typically see here:
    https://infocenter.nordicsemi.com/topic/ug_gsg_keil/UG/gsg/communicate.html

    Kenneth 

  • Hi Kenneth, thanks for the reply,

    Do I need to define UART, alike in uart_pca10400.uvprojx ?

    I want to :

                           printf("\r\Output of my GSC10 Garmin sensor......\r\n");                          

  • Hi Kenneth,

    then I upload the code I compile from Keil above that  ANT_s340_nrf52_7.0.1.hex, "sector erase" only and "include" is compiled....

    Correct step ?

    I can not upload hex file from Keil,

    Here's the message :

    Load "G:\\nRF5_SDK_17.0.2_d674dde\\examples\\ant\\ant_plus\\ant_bsc\\bsc_rx\\d52\\s212\\arm5_no_packs\\_build\\nrf52832_xxaa.axf"
    Set JLink Project File to "G:\nRF5_SDK_17.0.2_d674dde\examples\ant\ant_plus\ant_bsc\bsc_rx\d52\s212\arm5_no_packs\JLinkSettings.ini"
    * JLink Info: Device "NRF52832_XXAA" selected.
     
    JLink info:
    ------------
    DLL: V6.30h, compiled Mar 16 2018 18:02:51
    Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
    Hardware: V8.00
    S/N : 20080643
    Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
     
    * JLink Info: Found SW-DP with ID 0x2BA01477
    * JLink Info: Found SW-DP with ID 0x2BA01477
    * JLink Info: Scanning AP map to find all available APs
    * JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached
    * JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
    * JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)
    * JLink Info: Iterating through AP map to find AHB-AP to use
    * JLink Info: AP[0]: Core found
    * JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
    * JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    * JLink Info: Found Cortex-M4 r0p1, Little endian.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: CoreSight components:
    * JLink Info: ROMTbl[0] @ E00FF000
    * JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
    * JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
    * JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
    * JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
    * JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
    * JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
    ROMTableAddr = 0xE00FF000
     
    Target info:
    ------------
    Device: nRF52832_xxAA
    VTarget = 3.073V
    State of Pins:
    TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 0
    Hardware-Breakpoints: 6
    Software-Breakpoints: 8192
    Watchpoints:          4
    JTAG speed: 4000 kHz
     
    Erase Failed!
    Error: Flash Download failed  -  "Cortex-M4"
    Flash Load finished at 00:00:12
    Load "G:\\nRF5_SDK_17.0.2_d674dde\\examples\\ant\\ant_plus\\ant_bsc\\bsc_rx\\d52\\s212\\arm5_no_packs\\_build\\nrf52832_xxaa.axf"
    Set JLink Project File to "G:\nRF5_SDK_17.0.2_d674dde\examples\ant\ant_plus\ant_bsc\bsc_rx\d52\s212\arm5_no_packs\JLinkSettings.ini"
    * JLink Info: Device "NRF52832_XXAA" selected.
     
    JLink info:
    ------------
    DLL: V6.30h, compiled Mar 16 2018 18:02:51
    Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
    Hardware: V8.00
    S/N : 20080643
    Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
     
    * JLink Info: Found SW-DP with ID 0x2BA01477
    * JLink Info: Found SW-DP with ID 0x2BA01477
    * JLink Info: Scanning AP map to find all available APs
    * JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached
    * JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
    * JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)
    * JLink Info: Iterating through AP map to find AHB-AP to use
    * JLink Info: AP[0]: Core found
    * JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
    * JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    * JLink Info: Found Cortex-M4 r0p1, Little endian.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: CoreSight components:
    * JLink Info: ROMTbl[0] @ E00FF000
    * JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
    * JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
    * JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
    * JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
    * JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
    * JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
    ROMTableAddr = 0xE00FF000
     
    Target info:
    ------------
    Device: nRF52832_xxAA
    VTarget = 3.073V
    State of Pins:
    TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 0
    Hardware-Breakpoints: 6
    Software-Breakpoints: 8192
    Watchpoints:          4
    JTAG speed: 4000 kHz
     
    Erase Failed!
    Error: Flash Download failed  -  "Cortex-M4"
    Flash Load finished at 00:00:32

  • That should be correct, now make sure you are using a project named *pca10056*s340*.uvprojx 

    Best regards,
    Kenneth

  • ............pca10056 project. Where can I find pca10056 project ? I can not see it at ant_plus directory ?

    G:\nRF5_SDK_17.0.2_d674dde\examples\ant\ant_plus\ant_bsc\bsc_rx

  • project named *pca10056*s340*.uvprojx , where is that project ?

    I tried to find, nothing?

  • How can I merge two hex files and upload it ? thanks

Reply Children
No Data
Related