Quantcast
Channel: Other wireless technologies forum - Recent Threads
Viewing all 6677 articles
Browse latest View live

Program TRxEB board via JTAG port

$
0
0

Hello everyone,

I have 2 TRxEB boards with a CC1120 module plugin which communicates well together, but now I want to modify the firmware of these boards. So I have done it in one board but with the other one, I can't. These boards are exactly the  same with the same chip so I don't know why when I am trying to flash my firmware, I have this error: "Couldn't find device". I have no problem to detect the cc1120 with SmartRF and the board works well. I just can't program.

I'm using IAR, maybe it is in the configuration but it works with the other board.

Thanks for your help

Regards


Switching to XDS100v3 from XDS200

$
0
0

I have been using an XDS200 to debug my CC2640 custom board, but my CCS evaluation license is about to expire so I purchased an XDS100v3 board (TMS320-XDS100v3+) from Olimex (since CCS should continue to work with it after the eval license expires).

I created a converter board that maps the TI-JTAG-14 cable to the 10-pin ARM cable.   Since I'm using 2-wire JTAG, I mapped the TCK, TMS, and nRESET signals along with 3.3V and GND.

I mapped:

TI-JTAG_14                              10-pin ARM

  1                       TMS                         2

  2                       TRST_N                 10

  11                      TCK                         4

  5                        3.3V                         1

  4,8,10,12         GND                         3,5,9

After reading the Olimex user manual, I removed the jumper marked ARM_JTAG_E on the XDS100v3 board.

In my CCS project, I switched from TI XDS200 to TI XDS100v3 USB Debug in the .ccxml file.

I also saw a post that suggested that the "The Converter Usage" item should be changed to "Its bypassed, use 1149.1, mimic XDS100v2".    So I changed this.   I also tried changing the Frequency from the 1.0 MHz to higher frequencies when I read other comments suggesting that this might help.

I know the custom CC2640 board works with the XDS200.

I checked the converter board connections to insure that they are good.

The error below suggests a "hard error", and that the controller has detected a "cable break".    

Are the mappings I created wrong?   Are there other pins on the TI_JTAG_14 side that must be driven?

When I perform the "Test Connection" with the XDS100v3 as configured above,  I get:

[Start: Texas Instruments XDS100v3 USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\hepler\AppData\Local\TEXASI~1\CCS\
ti\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusbv3.dll'.
The library build date was 'Dec 9 2015'.
The library build time was '20:05:50'.
The library package version is '6.0.83.1'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.

An error occurred while hard opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-183' (0xffffff49).
The title is 'SC_ERR_CTL_CBL_BREAK_FAR'.

The explanation is:
The controller has detected a cable break far-from itself.
The user must connect the cable/pod to the target.

[End: Texas Instruments XDS100v3 USB Debug Probe_0]

Suggestions?

Thanks!

CC1310 Test Adapter PCB

$
0
0

I would like to take advantage of the Smart06 Evaluation Board and use it as the "motherboard" to evaluate my CC1310 XCVR design. I would design a simple interface PCB that would pick up the signals on the EM connector 1 & 2 and route them to my single connector. What do I need to know about the protocols of the EM, such as, what peripherals are assigned to what I/O. My design has DIO_0 as UART_TX and DIO_1 as UART_RX, that's probably not compatible with the EM. So where would I get that info? I have attached a pdf with these concepts.


Thanks in advance.

(Please visit the site to view this file)

CC2540 usb dongle

$
0
0

Hello

How flash the simpleBLECentral.c programm in cc2540usb dongle.

Sensor Tag drivers won't load using IAR workbench

$
0
0

Team,

I am trying to load the drivers for the Sensor Tag dev pak w/ debugger, but the device won't show up in the Windows device manager, and as such, IAR can't debug the Sensor Tag. I've tried downloading the latest XDS110 drivers from the XDS emulator software package wiki page (version 6.0.83.1), but I receive these error messages:

I ran with both elevated privileges and admin, but neither worked for me. Do you have any idea why I can't see the debugger in the Device Manager, or why I can't install the standalone XDS drivers?

thanks,

Sean

flash programmer 2 , msp430G2302

$
0
0

Hello,

I'm trying to write a hex image to a msp430G2302 using MSP-FET430UIF.

I am able to write the image using code composer but using the flash programmer 2 I get the error:

>Could not locate device 'MSP-FET430UIF - CDC (COMxx)' in device_info.xml.

This guy solved a similar solution but my solution didn't worked.. 

I tried to add to the device_info.xml:

<DeviceFamily type="pt" name="MSP-FET430UIF - CDC (COMxx)">

		<Device name="MSP430G2302" family="MSP-FET430UIF - CDC (COMxx)">

			<DeviceImage>xds200.png</DeviceImage>

			<Flash>
				
				<Main>

					<Size unit="kB">4</Size>

					<Address>

						<Begin>0xF000</Begin>

						<End>0xFFFF</End>

					</Address>

				</Main>

			</Flash>

		</Device>

	</DeviceFamily>

SmartRF Studio CC1310 FSK settings

$
0
0

Is there a config or xml file for SmartRF studio 7 to allow setting up the CC1310EM for FSK modulation?  I'm trying to test out compatibility of the CC1310 with a CC1110 radio using 2-FSK at 38.4K. 

flash programmer

$
0
0

Hi,

I would like to know the recommended way to flash programming the MSP430 using MSP430-UIF.

  1. We need to write the image/hex fast.
  2. We need to change 2 bytes in each image post or during the write of the image/hex.

What would be the recommended way to do that?


CC1310 Frequency Supported Bands

$
0
0

Hi,

CC1310 Silicon Errata(SWRZ062) 4page has the following description.

===================================

The supported frequency bands at product release are 863 MHz to 876 MHz
and 902 MHz to 928 MHz. Support for the 315-, 433-, 470-, 500-, and 779-MHz
frequency bands will be added to the CC1310 at a later time.

===================================

When is a support schedule of 315-, 433-, 470-, 500-, and 779-MHz?

Best Regards,

hamada

some question about usage of the CC2520

$
0
0

Hi 

    I am studyig   the zigbee WSN using the cc2520+msp430f149. I feel confused about the  the followig C progame.I don't know that the configuration value  determined by ourself or the CC2520 datasheet. sincerely looking forward  your guide, thanks!

1.uint8 pdata CC2520_PSDU[1+CC2520_PSDU_Len];
uint8 CC2520_Source_PANID[2] = {0xcc,0xcc};
uint8 CC2520_Source_ShortAddr[2] = {0xcc,0xcc};
uint8 CC2520_Source_IEEEAddr[8] = {0x12,0x34,0x56,0x7c,0xcc,0xcc,0xcc,0xcc};
uint8 CC2520_Destination_PANID[2] = {0xcc,0xcc};
uint8 CC2520_Destination_ShortAddr[2] = {0xcc,0xcc};
uint8 CC2520_Destination_IEEEAddr[8] = {0x12,0x34,0x56,0x7c,0xcc,0xcc,0xcc,0xcc};

CC2530 flash writing problem.

$
0
0

Hello,

I have been browsing through many of the CC2530 or CC2531 writing to flash and reading from flash problem.

I am trying to do the same things as the others. Many questions asked here, However I could not find an answer.

I have the feeling that many of us here have tried the same code. But didnt include the right .h header files or .c file.

I guess many of us here did not write the code including the Z-Stack.

That is why many of us here have no success and many questions asked in the forum are without answers for this problem.

What I have for header files in my code is only the <ioCC2530.h>.

1) Is this correct just using this header file <ioCC2530.h> ?

2) I am using IAR for coding CC2530. How do i check if i successfully got the data written in Flash?

3) I provided my code below. A lot of people in the forum stuck in the same place.

    while (!(DMAIRQ & 0x01)); //Wait Until Write Complete
    DMAIRQ &= 0xFE; //Clear Any DMA IRQ on Channel 0 - Bit 0 

Many of us stuck in the while loop in writeflashDMA.

The DMAIRQ just never activated, I guess the DMA transfer never complete the job therefore DMAIRQ never activate?

Could you please help for this matter? this could solve the problems for many of us here.

Highly appreciated!

/-------------------------------------------------------------------------

#include <ioCC2530.h>

//=================DMA傳輸=====================
#pragma bitfields=reversed
typedef struct {

     unsigned int SRCADDRH; //Byte 0
     unsigned int SRCADDRL; //Byte 1
     unsigned int DESTADDRH; //Byte 2
     unsigned int DESTADDRL; //Byte 3
     unsigned int LENH:5; //Byte 4 - Bit 4:0
     unsigned int VLEN:3; //Byte 4 - Bit 7:5
     unsigned int LENL; //Byte 5
     unsigned int TRIG:5; //Byte 6 - Bit 4:0
     unsigned int TMODE:2; //Byte 6 - Bit 6:5
     unsigned int WORDSIZE:1; //Byte 6 - Bit 7
     unsigned int PRIORITY:2; //Byte 7 - Bit 1:0
     unsigned int M8:1; //Byte 7 - Bit 2
     unsigned int IRQMASK:1; //Byte 7 - Bit 3
     unsigned int DESTINC:2; //Byte 7 - Bit 5:4
     unsigned int SRCINC:2; //Byte 7 - Bit 7:6

     } DMA_DESC;

#pragma bitfields=default

//==============主程式=================
void main( void )
{

   
  
   buf[0]= 0;
   buf[1]= 1;
   buf[2]= 2;
   buf[3]= 5;
   buf[4]= 3;
   buf[5]= 4;
   buf[6]= 6;
   buf[7]= 7;
    
      Flash_PageErase(3);
      WriteFlashDMA(buf,8, 0X1900);
      Read_Flash_To_Buf(0X9900, test, 8);
  
   while(1)
   {
     if(buf==0x00)
     {
       P1_0=0;
     }
      else
      {
        P1_0=~P1_0;
      }
   }
//WriteFlashDMA("01234567",8,0x1900); 
} // main()

void WriteFlashDMA(uchar data[], int length, int flashadr) //Write Flash, DMA Method
//Length Must be Divisible by 4 or last bytes fail to write
{

  DMA_DESC dmaConfig0;
  //MEMCTR|=0X07;//
  dmaConfig0.SRCADDRH  = ((int)data >> 8) & 0x00FF; //
  dmaConfig0.SRCADDRL  = (int)data & 0x00FF;//;
  dmaConfig0.DESTADDRH = (((int)&FWDATA) >> 8) & 0x00FF; 
  dmaConfig0.DESTADDRL = ((int)&FWDATA) & 0x00FF;//
  dmaConfig0.VLEN      = 0; //
  dmaConfig0.LENH      = (length>>8) & 0x00FF; //
  dmaConfig0.LENL      = length & 0x00FF;//
  dmaConfig0.WORDSIZE  = 0; //Size of Each Transfer - 0=8 Bit
  dmaConfig0.TMODE     = 0; //Transfer Mode - 1=Block, 0=Single
  dmaConfig0.TRIG      = 18; //DMA Trigger - 0=Manual Via DMAREQ, 18=Flash;
  dmaConfig0.SRCINC    = 1; //Source Address Increment - 1=1 Byte//
  dmaConfig0.DESTINC   = 0; //Destination Address Increment - 0=0 Bytes (Always Write to FWDATA, No Need to Increment)
  dmaConfig0.IRQMASK   = 0; //Interrupt Mask - 0=Disable Interrupts//
  dmaConfig0.M8        = 0; //8th Bit Mode - 0=Use All 8 Bits
  dmaConfig0.PRIORITY  = 2; //Priority - 10(2)=High Priority
//DMA
  while (FCTL & 0x80); //Wait Until DMA Controller is Available - Busy Bit 7//
  /********* flash***********************************************/
  FADDRH =(flashadr >> 10) & 0x00FF; // page size: 2048; select the flash page via FADDRH[7:1] bits
  FADDRL =(flashadr >> 2) & 0x00FF;  //

  DMA0CFGH = (((int)&dmaConfig0) >> 8) & 0x00FF; //Pass DmaConfig0
  DMA0CFGL = ((int)&dmaConfig0) & 0x00FF;
  
 
  DMAARM |= 0x01; //Arm the DMA Channel//
  FCTL |= 0x02; //Start Write
    while (!(DMAIRQ & 0x01)); //Wait Until Write Complete
    DMAIRQ &= 0xFE; //Clear Any DMA IRQ on Channel 0 - Bit 0
  while (FCTL & (0x80)); //Wait Until Flash Controller is Not Busy - Busy Bit 7//
  

}
//flash
void Flash_PageErase(uchar byPage)
{
  EA=0;
  while(FCTL & 0x80);//
  FADDRH = byPage << 1;//
  FCTL |= 0x01;//
  while(FCTL & 0x80);//
  EA=1;
}


void Read_Flash_To_Buf(int read_adr, uchar *buf, uchar num_bytes)//read_adr=flashadr+0x8000
{
  unsigned char i;   
  for( i=0; i<num_bytes; i++)
  {
    buf[i]=*(volatile char *)(read_adr + i);
  }
}

CC1310 Long Range Mode

$
0
0

1) What is the highest data rate for this mode?

2) What is the degradation in sensitivity/range as the rate is increased?


Thanks in advance

LONG DISTANCE RFID READER

$
0
0

E2e

We have a customer that needs to create a RFID reader net to monitor movement of animals. They read TI's “Navigating your way through the RFID jungle” paper and concluded that the Passive UHF method is the best for the solution, with the 30ft range. They have access to purchase UHF tags (ISO18000-6c compatible). The table on the page 7 identifies CC1101 and CC12xx as the TI technology.  Would any of these radios be capable of reading UHF tags?  If not, can you recommend a reader solution for this application?

 

Thanks for your help.

 

Regards,

John Wiemeyer



GenPacketSniffer MFC Application stop work on my windows 7 PC when I use packet sniffer tool to capture BLE packet with CC debugger+cc2540 development board.

$
0
0

GenPacketSniffer MFC Application stop work on my windows 7 PC when I use packet sniffer tool to capture BLE packet with CC debugger+cc2540 development board.

SmartRF06 AAA Battery powered

$
0
0

Please see the attached photo. I have 4 EVBs and only one of them turns on via battery power. To get it to be usable on battery, I have to "jump start" it by momentarily plugging in the USB cable, while the 1st switch in ON, and the 2nd switch is set to BAT. There has to be a marginal issue with this PCB Board.

Has this issues, which others have experienced, been resolved yet? Is what I describe the only current work around?


Thanks in advance.


CC1101 Minimum distance for communication

$
0
0

I want to use CC1101 for my project and I have some doubts regarding CC101 RF range

1. In 1kbps baud rate what is the minimum distance that is required between the two CC1101 modules (peer - peer) for proper communication ?

2. In 250kbps baud rate what is the minimum distance that is required between the two CC1101 modules (peer - peer) for proper communication ?

CC1310 & TI RTOS, next development steps

$
0
0

I am relatively new to the RF MCU or RF Transceiver offerings from TI. I am currently tasked with developing two-way 900Mhz wireless devices. The design is for a wireless keypad that communicates with a central station, the station polls the keypad to receive changes, the changes are communicated to the station and an action is taken at the station. The station also updates the display on the keypad. The data is exchanged in packets.

I have minimal experience with RTOS's, but plenty of experience with RF and embedded systems. I'm using IAR ARM as my development environment, I've been successful in getting a few of the Driver Examples working in IAR using the guides; the Concentrator/Node example, the RF Easylink TX/RX example, and the LCD SmartRF06 example.

I'd like to delve in a little deeper so that I may use the Concetrator example (good choice?) as the basis for my design. One thing I'd like to do is customize the packet, maybe sense a switch on the SmartRF06 and alter the packet to have something come up on the display in either the Node(keypad) or the Concentrator (station).


The SPRUHU7B document was very helpful, what other learning tools geared towards the CC1310 (not a general TI-RTOS path) can I use to get up to speed quickly in developing my app.

Thanks in advance

Regarding the CC2541 Chip Package

$
0
0

Hi Sir/Mam,

                      In order to bring down the cost of the chip for mass production for about 10000 or more quantity is it possible to do the OTP i.e. (One Time Programmable) package for the CC2541 mcu. I believe that the OTP package are much more cheaper than the existing normal readily available QFN package. Please Let me know if thats really possible if yes then will the TI manufacturer them self can make and give it to me or i may need to find some OTP chip manufacturer?


Regards

Piyush Saxena

Help for interfacing MSPEXP5438 with CC2520

$
0
0

Hai all,

Can anybody share me the working procedure for programming MSPEXP5438 with CC2520 using CCS IDE.

CC1101 - Dynamic data rate/baud rate changing

$
0
0

Is it possible to change the data rate/baud rate of the RF CC1101 Module dynamically, (Not by setting the baud rate at the compile time itself ) ?

Viewing all 6677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>