Part Number: CC2640R2F
Hi,
Since the memory size is not enough, I move from onchip to offchip oad.
I start from Simplelink_cc2640r2_sdk_4_10_00_10 "Simple_peripheral_oad_offchip" example.
IAR ver. 8.40.2 is used. It generates "sp_oad_offchip_cc2640r2lp_app_FlashROM.hex" , "sp_oad_offchip_cc2640r2lp_bim_FlashOnly.hex"
and sp_oad_offchip_cc2640r2lp_stack_flashROM.hex".
I want to generate a file that can be downloaded from the Flash Programmer 2 to the launch pad to make it work and use the following command but found errors.
In order to make the command short, I rename the above files and put into a folder called "oad_file" in c drive.
C:\ti\simplelink_cc2640r2_sdk_4_10_00_10\tools\blestack\oad>oad_image_tool.exe c:\oad_file\bim.hex c:\oad_file\app.hex c:\oad_file\stack.hex -o c:\oad_file\test.hex -i production -t offchip
usage: oad_image_tool [-h] [-v] [-verbose] [-hex1 HEXPATH1] [-bdf BDFILEPATH]
[-hex2 [HEXPATH2]] [-k [KEYFILE]] -o OUTPUT
ProjType ProjDir BinaryType
oad_image_tool: error: argument BinaryType: invalid int value 'c:\\oad_file\\stack.hex'
I am not sure whether the command is correct or any other simple method can do it?
For onchip oad, I just using Flash programmer 2 to multiple download the bim, persistent app and stack. The application app .bin is oad through BTool.
Please help and thanks in advance,
Rin
