Other Parts Discussed in Thread: BLE-STACK, CC2650,
Hello!
I'm developing a custom board with a CC2640F128 (5x5) MCU. Everything about hardware seems fine, but I'm facing a few problems getting it to work with OAD (using IAR and BLE-Stack 2.2.2).
With the documentation and several researches in the Forum, I was able to flash both BIM and OAD_Target (Image A) projects to my board, and update it to the Simple_Peripheral (Image B) using BTool and a CC2640R2-Launchpad. I'm working with the "cc2650lp" examples, with the correct board files.
For my application, I need the board to start running 'Image B' when flashed - so I tried to create a "production image", as described in the User Guide. I copied all 4 hex files (bim, oad_target_app, oad_target_stack and simple_peripheral_app) to a folder in my computer, along with the oad_image_tool script. But when i try to run the suggested command line "<python> <oad_image_tool.py> <BIM hexfile> <Image A hexfile> <Stack hexfile> <Image B hexfile> -o <Output hexfile> -i production –t onchip", I get the following error.
"Fatal Error: -- The provided metadata location (0x00000000) is not empty. Exiting."
Since I was not facing any problems when 'Image A' was running at the start, I copied the the "-m 0x600" parameter from IAR post-build step for OAD_Target. With this parameter, I was able to merge the files, but when I flash the merged file to my board, "OAD Target Image A" is advertising.
What am I missing?
 
				 
		 
					 
                           
				 
				