Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4060

SDK • [SOLVED] Re: Issue with Flash Programming SDK Example

$
0
0
That was it! Thank you!
Are you using USB serial ?

This might be another example program which expects a UART connection, doesn't play well with USB serial connected.

The program calls 'flash_range_erase' and 'flash_range_program' but I don't see any disabling of interrupts around either of those. You can try wrapping both with -

Code:

    uint32_t ints = save_and_disable_interrupts();    ... flash_range_erase ... / ... flash_range_program ...    restore_interrupts(ints);

Statistics: Posted by Ascertain1413 — Tue Jul 02, 2024 3:16 pm



Viewing all articles
Browse latest Browse all 4060

Trending Articles