Hi Rodri,
thank you so much too, your solution with lpclink2-config-tool works perfectly for me too!
I also had a LPC Link II and worked with it 3 month. This morning, the same error came-up.
As I already wanted to change to the next LPC Link II, I found your post.
I also had a look to your code "Test_LED" because I wanted to find-outwhat we have done both
to generate this error. We both use the USB stack and we both us a Timer Interrup And we both use the HSADC.
My error came up (after months of no error) after I used the ADC, the USB stack (HID device) and the SysTick
interrupt all together. The USB stack hangs-up and the error "no more programmable flash) occurs.
All further information I will write on
Flash Programming on LPC4370 SPIFlash failing (as suggested by Dave) to also avoid 2 threads.
Again thank you Rodri, you saved my day.
Harry