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.
Tool/software: Code Composer Studio
We have register this no. Number: CS0319746 Contact: Jeff Lin First name: Jeff Last name: Lin Short description: CC2642 OAD function fail ( multirole OAD , OFFCHIP , external flash ) Phone: 8860229064627 Email: jeff_lin@alphatech-plc.com Company: ALPHATECH PLC INTERNATIONAL CO., LTD. Company phone: Language: Mandarin State: Open Provide case details or comments: see attached file .
But They told me to contact here ( e2e.ti.com ) to get support .
1. We test multirole program on LaunchPad (8Mb flash): function ok.
(Multirole , offchip, external flash , OAD pass.)
2. We test external flash memory on our PKS-200E hardware platform ( external flash memory 16Mb , read and write function ok.) .
3. If we use same testing program on PKS-200E , the multirole OAD function fail as attached screen picture ( status : OAD Get OAD Size ).
4. Main difference on both Hardware (LaunchPad and PKS-200E): we use difference GPIO(DIO) pin no. for SPI interface and memory size .
How to solve this issues ( setting problem or Btool only support your defaut SPI DIO no. (same as LaunchPad) ? 796461_CC2642_OAD fail report.docx
Hi Jeff,
I have assigned an expert to help you on this issue. To better assist, which SDK version are you working off of? Thanks!
Best Regards,
Jenny
Hi Jenny
SDK Version: simplelink_cc13x2_26x2_sdk_3_40_00_02 ( you can find attached doc. in details)5153.796461_CC2642_OAD fail report.docx
BR
Jeff Lin
Jeff,
Please apologize; I had written a reply last Thursday but I wonder why it was not posted.
It is hard to have an accurate assessment of what may be disconnected between our hardware and your board, thus I can provide a few comments.
After reviewing the document, the main difference seems to be related to either the GPIO assignment or a misconfiguration of your flash device.
During the migration, I would first double check the pin assignments on the file <ti_drivers_config.c> - both the chip select at the struct gpioPinConfigs[] and the SPI pins at the spiCC26X2DMAHWAttrs[] - just to verify here, I did the pin assignments that seem to correspond to your board on a simple_peripheral oad offchip example and the file follows attached.
Another aspect covered in our Simplelink Academy module is the need to also modify the BIM project to match the different pin assignments.
Another aspect is very related to the block size itself and perhaps other parameters of the different Flash memory IC. A quick search (Ctrl-H) for the term "block size" reveals the file nvocmp.c and perhaps set a breakpoint at the function OAD_getBlockSize() of the file OAD.c to see what is being returned from the stack.
Since I don't have a board with modified hardware with me, I do not have a way to validate all this.
Hope this helps,
Rafael
Hi Rafael
Regarding " Another aspect covered in our Simplelink Academy module is the need to also modify the BIM project to match the different pin assignments." Could you tell us how to find (BIM project) this file and foler ?
Block size are same for both of flash memory .
I have not any problem on BLE4 (CC2640 chipset and same SPI interface ( same GPIO). We can access external flash memory under CC2642 (read and write ) .
Please try multirole OAD in your Lab.
BR
Jeff Lin
Hi Rafael
MultiRole OAD underTI LaunchPad CC26x2 without problem .
We have implement all step based on your Simplelink Academy module .
Attacehd picture for your referene.
So we still have trouble on MR OAD . Maybe you can remote to our system to debug .
Urgtenly ...
BR
Jeff Lin
Skype : alphalin
Jeff,
Please apologize; last week I was out of the office (Thanksgiving week in the US) and I resumed my work on Monday.
I performed all the modifications to the multi role project and it worked with the external memory just like you reported - on our board.
What is strange in your scenario is that the reported error (OAD block size) does not seem to have any relationship with the Flash device being used, thus should be transparent across yours and ours hardware. One aspect: I suspect you are not having any other mismatches such as a BIM with or without security being used with a secure image or vice versa, right?
I am still trying to reproduce this error here in my setup.
Regards,
Rafael
Hi Rafael
Thanks for your feedback.
We have not problem of Multi role OAD on cc2640R2F with same hardware (flash memory chip and gpio) design. (But we use IAR) .
For CC2642 we use CCS .
BR
Jeff Lin
Jeff,
Thank you for reporting back the resolution of your case. It will certainly help other developers in the future.
Have a nice weekend,
Rafael