Other Parts Discussed in Thread: UNIFLASH
HI, i make a board whit CC1310 module radio, i need download the bootloader the CC1310 kit to my borad. there are any manual for this?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Please take a look at www.ti.com/.../swra466
i have this error...
Error connecting to the target:
(Error -242 @ 0x0)
A router subpath could not be accessed.
The board configuration file is probably incorrect.
(Emulation package 9.3.0.00032)
The bootloader is upload in CC1310 LAUNCHPAD?
Re-reading your original question: The app note I sent a link to show how to use the bootlader present in ROM. What exactly are you trying to do when you get this error? (detailed description making it possible to replicate on our side)
i remove the jumpers, GND,3V3,RXD y TXD, RST and i conected 5 wires of this pins to my board. and i try to upload a example in CSS for upload the bootloader for serial by ROM
If you want to use the bootloader you need a hex file and flash programmer software
- Use either UniFlash or FlashProgrammer 2. For the latter see the required steps in e2e.ti.com/.../cc1352p-which-software-can-i-use-to-download-program-via-serial-bootloader
ok, im looking this threads but, i dont understand.
1º for .hex:
By CCS i select for .hex output like this
but now, have i upload someone program or what?
2º when i have the .hex file i open smartRF flash programmer 2 ver 1.8.2 and how can i follow?
also, my code composer dont generate .hex i select the options and dont appear the file
yes, i go to workspace, folder example, and dont appeard, in folder debug dont appear
Did you set the length to 8 under ARM Hex Utility -> General Options
When I did the modifications described in https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/580228/ccs-cc1310-hex-file-generated-using-arm-hex-utility-is-not-working/2130570#2130570 in one of the examples from the SDK I get the expected .hex file:
yes, if i see my folder in CCS like your image, the file is in debug and appeard but in folder workspace not.
If the file is visible in CCS it's also on your disk.
Are you looking the correct place? If you go to properties for your project and press this:
and go to the debug folder from there.
ok, now yes i have hex.
what do i do now? im goingi to flash programmer connect the launchpad for usb and what more
From the description I have already sent you:
Open SmartRF Programmer.
(1): Right click on the chip name and press connect.
(2) Select mass erase (bootloader require an empty flash when using it from flash programmer 2
(4) Select CC1310 on the pull down menu.
(3) Right click on the name and select connect.
Then select your hex file under flash images and so on. How to use flash programmer is also described in the help in the program.
OK, thanks. Last question. I have CC1310F32RMST whit 32 pins, rx and tx for uart is in DIO2 and DIO3 like CC1310F128 whit 48 pins?
Too i need the SPI pins. OR if you have electric schematic of CC1310F32RMST i can check this i think
The pins you should use is listed in this table in the TRM (https://www.ti.com/lit/pdf/swcu117):
Hi, dont appear Class Aplication in FLAS PROGGRAMMER, ONLY UNKNOWN. I have my board connect to the CC1310 Launchpad. I connected GND,3V3,RXD, TXD, RST to my board whit uart
This is covered in one of the links I have sent you. That is why you have to do step 4 in the step by step description I sent you. Please follow this carefully.
Yes, but it is not clear how to do it. for example 4.1.1 SmartRF06EB Virtual COM does not make it clear that it is SMARTRF06EB, I understand that it can be replaced by FLASH PROGRAMMER 2.
Then it uses SblAppEx but it does not indicate how to run this example, do I need visual studio?
it also uses a virtual port and disconnects tx and rx and connects them down instead of up. I also have to remove VCC,GND to power my board. I mean, it's very different.
I understand that the steps for my example are:
1) connect C1310 in flash programmer
2) select
CC13xx force mass erase on the icon next to the help.
3) select program flash
and in simple select .HEX file. Then hit the play button.
4) select verify and hit play
5) press the reset button on the board
i was trying this, and upload the code in launchpad but not in my board.
Now, Im trying to use sbl program but an error occure: No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
why dont detect the launchpad? i have to modify someone of code or put to low someone pin?
I suggest to first get this up and running with Flash Programmer 2 since that should be the easiest.
- Do you want to flash a launchpad with the bootloader or do you have a different HW?
- Have you verified that the chip on the board you want to flash has been erased? (Read out the flash content using the JTAG interface and Flash Programmer 2.
I have my own hardware with a CC1310F32RST. This board is externally powered and does not have a microUSB connector. I also have a CC1310 LAUNCHPAD.
1) I want to load the bootloader to my own hardware from my launchpad kit.
I have connections for uart and spi.
2) I do CC1310 force mass erase, if after this or before I do erase it gives me an error, it tells me FF address and waits for 00.
I understand that it is not done well, right?
I have loaded examples in my launchpas, but I have never loaded anything on my hardware, right now everything is just soldered and I want to load the firmware to the CC1310F32RSMT core from my launchpad
what do i do for finish this today?
I change this in CCFG.c
i have a image valid whit the launchpad 0x0000000
In CC1310F32RSMT the pin for default is DIO6? in code 0xFF?
what more?
//##################################### // Bootloader settings //##################################### #ifndef SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE //#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0x00 // Disable ROM boot loader #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable ROM boot loader #endif #ifndef SET_CCFG_BL_CONFIG_BL_LEVEL #define SET_CCFG_BL_CONFIG_BL_LEVEL 0x0 // Active low to open boot loader backdoor //#define SET_CCFG_BL_CONFIG_BL_LEVEL 0x1 // Active high to open boot loader backdoor #endif #ifndef SET_CCFG_BL_CONFIG_BL_PIN_NUMBER #define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER 0xFF // DIO number for boot loader backdoor #endif #ifndef SET_CCFG_BL_CONFIG_BL_ENABLE #define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled boot loader backdoor //#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xFF // Disabled boot loader backdoor #endif
i have a image valid whit the launchpad 0x0000000
In CC1310F32RSMT the pin for default is DIO6? in code 0xFF?
Not sure what you mean here.
---
Step 1 is to see if you manage to upload an image to a launchpad using the description I have sent you earler in this thread. In that case you have to first do a mass erase first. Do you manage to upload an image using flash programmer 2?
hi,
if you mean to load a program and see what works, yes, in launcpad I can load it perfectly.
Meaning that you have loaded a program using the bootloader following the 4 step description I posted 4 days ago?
Since your custom board has not been programmed before, you only need the 2 last steps to program it. It's not clear from previous posts what happens if you follow this description on your custom board.
When i remove the jumper TXD and RXD of my launchpad for connect my hardware in this pins, dont work the 4 steps
IN LAUNCHPAD WORK, when i want to connect my hardware to launchpad, if remove TXD and RXD FOR CONNECT UART to my hardware. I open flas programmer 2, connect whit launchpad , force erase mass, STEP 3) select comunication port CC1310F32 and conect when i click in connect the flash programer 2 is closed.
Try removing all jumpers. Now you try to both connect to the chip on the Launchpad via the JTAG interface and then the chip on the customer board via UART.
For the customer board, only do step step 3 and 4.
Also, could you show to which pins you are connecting RxD and TxD on your customer board.
I dont understand, i remove all jumpers less JTAG in launchpad and the i connect custom board to uart? or what do you say? if remove JTAG jumper inlaunchpad dont detect the device the flash programmer.
OK, the custom board is CC1310F32RSMT whit uart RX in pin DIO2, and TX in DIO1.
and i connec the wires like this
Also i try to connect in pin yellow and red but it the same.
From the beginning step by step:
1) Can you load the bootloader from a CC1310F128 to a CC1310F32?
2) If the answer to the first question is yes.
the next step is to establish how it is done.
is sblAppEx used or can flash programmer be used?
3) determine the connection of the two plates.
-For sbl I understand that it is as indicated in the figure of the link jumpers.
-For flash: can you indicate the connections and jumpers?
4) if the response is flash, then:
- Flash opens.
-I select XDS110 Class Application/User UART (COM10) and the CC1310F32
- connect.
-load .hex
-select program.
-Click on the play button and that's it.
If the answer is sbl:
-run sbl.
In this part I don't know how to load the program.
1)
Not sure what you mean. What you have tried so far is to use the UART available via the XDS110 debugger (virtual COM port).
2)
As already covered, you can do this with flash programmer 2 and Uniflash. Probably also SblAppEx but it looks like a GUI is easier at this stage. For production you can use the CLI provided for Flash Programmer 2 and Uniflash
3) For both programs the same connection should be used.
VDD, GND; nReset, TxD, RxD.
ALL jumpers have to be removed when using the XDS110 on a Launchpad for this. You want to connect to ONLY the DUT and not t he CC1310 on the Launchpad.
4)
Note step (3) and (4) in my how to do list. Since using UART will not autodetect the CC1310 you have to select this manually from the pull down. After you have manually selected the chip, you can right-click and select connect.
you said:
Note step (3) and (4) in my how to do list. Since using UART will not autodetect the CC1310 you have to select this manually from the pull down. After you have manually selected the chip, you can right-click and select connect.
In your image for the list, you select comunication port but should be XDS110 Class Application not?
after select connect, what i should do? select program and play? or erase..program and verify?
I have tried to connect it as you said. all jumpers removed, VCC. GND, nRST, RX,TX.
When using FLASH programmer, I get this error when trying to connect.
>Initiate access to target: COM10 using 2-pin cJTAG.
>No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
>Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
>Failed to create device object.
I tested the same connection on my end (I use the CC1310 on a Launchpad as target device) and I have no issues connecting
two things I notice from your screenshot:
- You should only have two lines with XDS110. You have two other lines. Try to only have the Launchpad connected to the PC.
- The error message state that it fails using cJTAG. But if you do this correctly it should not use JTAG at all.
i dont undertand. what lines are in JTAG, i remove all jumper, and i have GND, 3v3, TC,RX,Reset. what lines have i disconnect?
What do you have connected to the PC you are using, you should only have the Launchpad connected?
only i have the launchpad connected to PC and the wires that you can look in the image.
i should connect in the down line RX and TX?
i have try to use 2 launchpad for connect and dont connect it. its a error or if you want to use flash programmer you need have 2 jumpers connected in TMS andTCK?
Not clear what you are trying to do here. Are you trying to replicate what I did?
show me how replicate what you did. Also, if the uart connect didnt work, say me how alternative whats step need for upload the image for JTAG