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

Can't read from PCA10000?

MasterEmulator Version 2.1.12.6, PCA10000 Version 1.0, MEFW nRF51822 version 0.9.0,

The log file shows the following;

12;18:17:38.4681 []  - - Start of script: (2015-06-05 08:17:38) - - 
13;18:17:38.4701 [] 
<reportfile:"C:\ProgramData\Nordic Semiconductor\MasterEmulator\log.txt"/>
14;18:17:38.5061 [] Device: COM14
15;18:17:38.5111 [] HciJLinkDriver opened (COM14, 1000000-8-None-1-RequestToSend)
16;18:17:38.5201 [] 480102716 - COM14
17;18:17:39.7352 [] HCI command: BTLE_CMD_READ_BD_ADDR
18;18:17:39.7392 [] Serial port write: 01-09-10-00
19;18:17:41.2172 [] Exception: No response from master emulator
Could not read device address.

However when using an older version of MasterEmulator (2.1.6.8098) the com port is opened at a slower baud rate and it works;

10;18:08:25.5175 []  - - Start of script: (2015-06-05 08:08:25) - - 
11;18:08:25.5215 [] 
<reportfile:"C:\ProgramData\Nordic Semiconductor\MasterEmulator\log.txt"/>
12;18:08:25.5505 [] Device: COM14
13;18:08:25.5565 [] HciJLinkDriver opened (COM14, 115200-8-None-1-RequestToSend)
14;18:08:25.5585 [] SerialNumberToComport for serial 480102716 returned COM14.
15;18:08:26.6625 [] HCI command: BTLE_CMD_READ_BD_ADDR
16;18:08:26.6805 [] Serial port write: 01-09-10-00
17;18:08:26.6855 [ReadPacketQueueThread] Serial port read: 04-0E-0A-01-09-10-00-56-FF-99-00-CD-29
18;18:08:26.6935 [ReadPacketQueueThread] HCI event: BTLE_EVENT_COMMAND_COMPLETE, OpCode: BTLE_CMD_READ_BD_ADDR, Status: BTLE_STATUS_CODE_SUCCESS, BdAddress: 0x29CD0099FF56

I wish to use the ReadRSSI() in the latest MasterEmulator, is there way to change the baud rate?

Parents
  • The earlier veraions of PCA10000 doesn't have chips that officially support 1MBaud, and your latest version of MCP is trying to communicate with a much faster baud rate that your board is configured for. So, what is the version number of your pca10000, or better, what is the revision of the chip mounted?

    If you upgrade to the nrf51 dongle you'll be able to run with a higher baud rate for sure.

    In your latest installation, you should be able to find the MEFW firmware hex file (somewhere in the installation folder). You can try flashing that with nrfgo studio, but I cannot guarantee that it will work.

    I didn't see this before, under file->settings->Serial port. Maybe try changing it?

    image description

Reply
  • The earlier veraions of PCA10000 doesn't have chips that officially support 1MBaud, and your latest version of MCP is trying to communicate with a much faster baud rate that your board is configured for. So, what is the version number of your pca10000, or better, what is the revision of the chip mounted?

    If you upgrade to the nrf51 dongle you'll be able to run with a higher baud rate for sure.

    In your latest installation, you should be able to find the MEFW firmware hex file (somewhere in the installation folder). You can try flashing that with nrfgo studio, but I cannot guarantee that it will work.

    I didn't see this before, under file->settings->Serial port. Maybe try changing it?

    image description

Children
No Data
Related