Part Number: CC2640R2F
Dear all,
Sdk version: simplelink_cc2640r2_sdk_2_40_00_32
Now I use simple_peripheral_oad_offchip with some addition application level code, when i debug OAD function, I found OAD is pending show as below by Btool(btool is used by cc2640r2_sdk_2_40_00_32 BT5.0 stack).
I search E2E and found this would be the issue to read the external flash,
after I debug the code, i found code goes into below function (ExtFlash.c)
bool ExtFlash_open(void)
{
bool f;
hFlashPin = PIN_open(&pinState, BoardFlashPinTable);
if (hFlashPin == NULL)
{
return false;
}
hFlashPin == NULL and returned!
I don't know why called PIN_open() and it returned NULL to hFlashPin.
Then I do a more test,
I do hFlashPin = PIN_open(&pinState, BoardFlashPinTable) in static void SimplePeripheral_init(void),
hFlashPin != NULL,
Does this mean RAM is ran out during the OAD period and can't assign more RAM to new assignment?
Or any other suggestion for the problem?
Many thanks.
-Michael
