Hi, at the moment my SmartRF04EB is not recognized when i connect it with the pc. Yesterday it works. I read the DN300. But I' am not able to revive the board. The EM board works.
The EB is not shown in the progranner. Could anyone help me please.
You have successfully loaded the boot loader. Have you used the boot loader to load the actual SRF04 board software using Ti Flash Programmer? Open Ti Flash Programmer and go to the EB Application (USB) tab and load srf04eb_fwid0400.hex from C:\Program Files\Texas Instruments\Extras\Srf04Eb. This should do it.
I suggest you search the Ti site and make sure srf04eb_fwid0400.hex is the most recent version. If you recently downloaded flash programmer or rf studio you should be set. It is best to check since there have been recent updates.
ok i have done that now...however windows now says it connot install the device....Going on a search for drivers...I think its still not correct somewhere because it recognizes the ohther board.
OK well what i have resorted to doing is downloading software with RF studio to the working board. and using the Si labs adapter to download software to the other board...this seems to be working fine for the time being...I also had one question i may have misunderstood when i was reading but...does the CC1150 EM not work as a receiver? I can transmit with it to a CC1100 however when i try the same thing with the CC1150 it does not receive packets?
Hello
Just to be sure I took my SRF04 and followed the following procdure.
1.) Connected the SiLabs debug module to the board at P301 MCU Debug2.) I checked there was no EM plugged into the SRF042.) Open the SiLabs IDE and then opened the srf04eb_bootloader.hex3.) Applied +6V of power to the SRF04 +4-10V (I could not find the wall wart)4.) Using Option - Connect Option selecting USB and C2 enabled the SiLabs DB adapter5.) Upon clicking the DL icon the C8051F320 on the SRF04 was flashed with the boot loader6.) Shut down the board and removed the USB cable from the SiLabs DB adapter, disconnected the DB module from P301, and the power supply.7.) Connected a USB cable directly to the SRF04 and turned on the power switch, the LEDs lit.8.) Opened Ti Flash Programmer and the board was recognized9.) Using Flash Programmer srf04eb_fwid0400.hex was installed
I tried it with a couple of EM modules and RF Studio and all works correctly.
The CC1150 is just a transmitter....
ok was programming the board through the debug adapter...went to adjust a program and now it says it cannot connect to the specified device...the power light still comes on and it has the option to use it in the connect options. Is this what you were talking about before when you said they can die easily?
It sounds like it is OK. When they die they disappear in the connect option leaving only the RS-232 option. I usually get that error when I forget to turn on the power, I'm in the de-bugger, or some other problem. They are hard to kill except by disconnecting it from the target when it is running. Even in halt they generally survivie.
Disconnect and re-connect the USB cable to cycle the power to it.
Alright well ill give it another try here in a bit...I had to leave the lab and go work on some homework actually instead of this project..Will give try later tonight.
Sorry it has taken a while to get back at this.
However after using the Si labs ide the flash program still will not recognize the board in the usb tab...therefore putting the software back on this way does not work...I can put the srf04eb_fwid0400.hex back onto the board using the Debug adapter(purchased another after the last issue) in the silabs ide. This for now will have to work for programming the srf04. If you have any idea on a way of going about this that i havent tried?.
"not recognize the board in the usb tab...therefore putting the software back on this way does not work"
Using th SiLabs IDE to install the Ti software on the SiLabs C8051F320 of the Smart RF04EB does work. If it does not solve the problem then something else is going on with the USB port on the ERF04EB, the USB cable, or the host PC.
Hello Mr Stewart,
I too have run into the issue where the boot code in my SmartRF board's boot code got wiped. Since as you note, the EC2 is kind of difficult to find, I went for the Silabs USB Debug adapter: I obtained a C8051F320 DK, which includes it.
So far, however, it looks like things are not really working: I can connect to the SmartRF board from within the IDE, and it looks like it tries to download the bootcode HEX file, but the download itself fails.
If I look at the pinout of the debug connector and compare the pin definitions of the debug connector and the EC2 connector, there are differences, possibly explaining why it's not working.
Pin definitions for the EC2 are:
1: 3 to 3.6 VDC
2,3,9: ground
4: TCK (C2D)
5: TMS
6: TDO
7: TDI (C2CK)
8,10: not connected
Pin definitions for the USB debug adapter:
1: +3 V
4: C2D
5: /RST (Reset)
6: P3.0
7: C2CK
8: Not connected
10: USB power
As you can see, similar, but not exactly the same. Did you really use the USB Debug adaptor directly on the SmartRF04 board ? Or am I missing something else ?
By the way: when I try to download, I got a warning that some protected areas are about to be written, and that first some areas need to be cleared. There I get a normal progress bar, that completes normally. When after the erasure the actual programming starts, I briefly see a progress bar (gets to something like 97%), but then that progress bar disappears, and I get an error that the device is not responding.
Hm.
Any insight you could provided would be greatly appreciated ?
Best regards,
Marc.
These image were taken this morning using a Smart RF04, SiLabs IDE, SiLabs Debug Module, and Ti's Flash programmer.You must use the SiLabs setup to load the bootloader and the Ti Flash Programmer or the new version of RF Studio to load the srf04eb_fwid0400.hex file.While you can load the srf04eb_fwid0400.hex using the SiLabs setup the SMRF04 board will not run.
Start of process:Power down the SRF04 boardConnecting the SiLabs USB debug adapter to the MCU Debug P301 on the Smart RF04 board.Opened the SiLabs IDE and removed any previous projectPower up the SRF04 board Clicked the little monitor icon on the IDE to connect or go to options / connectClick the DL down arrow icon and the dialog box pops up asking for file nameNavigated to \Program Files\Texas Instruments\Extras\Srf04Eb\srf04eb_bootloader.hexClicked down load
Text at the bottom of the IDE window states download successful
Power down the SMRF04 BEFORE disconnecting the SiLabs debugger else it will die (I have 4 dead ones, we use the C8051Fxxx in many products)Disconnect the SiLabs debugger and connect the USB cable directly to the SRF04Power up the SRF04
The next two screens show the successful down load of the srf04eb_fwid0400.hex file using the Ti Flash programmer and to show it works I used flash programmer to down a application (light switch.hex) to a CC2430EM.Not shown is I opened Ti RF Studio and it also worked.
Hello Mr. Stewart,
Thanks again for your excellent description of how to download the bootloader into the SmartRF04 board.
Unfortunately, things in my setup behave differently then as described by you. The download in my setup always seems to fail. When after the failed download the assembly window on the right side of the IDE opens, I always see the same assembly code there, always with the same assembly code.
As described, after I selected the proper HEX file and pressed the download button, I first get a few other popup windows:
The first one indicating: "Attempt has been made to access a protected region of flash. A user space erase will be performed prior to downloading"
When I then click OK in that popup window, I get the following popup:
"Part or all of program memory is protected. This operation will erase the entire program memory space, including protected sectors. Are you sure you want to continue ?"
Then I get a progress indication while flash is being erased, which seems to complete successfully.
Then the actual download is attempted, which then fails, with the following popup:
"Target failed to respond. System is being disconnected."
And that's it...
Almost looks like there is more (or something else) broken in my setup. Hm...
Marc Meertens.
First the SiLabs C8051F320 and debug interface is the same as on the C8051F320 dev board and the SR04. I have a lot of exprience with both designs and have reused it in many custom designs where we needed a easy path to a USB interface. I have used the C8051F320 dev board as a interface for the Ti 8051 based SOC's (eg CC2510) prior to the low cost cc-Debugger being released. It works well with Ti Flash Programmer and RF Studio. The point is if the MCu chip is good, it is baised up, and the wires from the JTAG header are there, it will work.
1.) There are a couple things that would be quick to try. Follow the same steps as I outlined but using the C8051F320 dev board all the through to the Ti USB application being loaded from Flash Programmer or RF Studio. Of course there is no way to connect a CCxxxxEM for the final step If this works you know the process is ok.
2.) Second try to load a SiLabs app such as blinky on to the C8051F320 dev board. Once it works there move the JTAG connector over to the SRF04 and it should work there.If the flash lock bits are set this will clear them.
If test 1 succeeds and 2 fails there is an issue with the C8051F320 flash memory on the SRF04 board.
Take a look at the SiLabs data sheet for the flash lock bits in the C8051F320 data sheet on page 107.
Hi,
I did the test you described above to some extent (I only downloaded the boot code to the C8051F320 dev board, not the rest). Using the dev board everything is working fine.
The last test I did, was trying to downloadf the blinky program onto the SRF04 board; that download fails in the exact same way as the bootcode download. So it looks like the C8051F320 on the SRF04 is fried. Sigh. Maybe I will try to replace the MCU on the SRF04 with a new one.
Thanks for your support.