This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

internal command error

hi

I am working with nordic nrf52810 soc, when i flash code using stlink v2 i am getting  "Internal command error", all my connections are correct. i can see my stlink connected inside debug in keil.  on the other hand i am able to program successfully stm32f103 using the same ide and programmer.

Parents
  • when i flash code to chip this box appears, also i cant see my device in debug tab which you can see in other screenshot.

    Build output

    Error: Flash Download failed - Could not load file 'E:\PROJECT_EDL\NORDIC\DeviceDownload\nRF5SDK1702d674dde\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\pca10040\s112\arm5_no_packs\_build\nrf52832_xxaa.axf'
    Flash Load finished at 18:41:25
    Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s112\\hex\\s112_nrf52_7.2.0_softdevice.hex"
    Internal command error
    Error: Flash Download failed - Target DLL has been cancelled
    Flash Load finished at 18:41:36

Reply
  • when i flash code to chip this box appears, also i cant see my device in debug tab which you can see in other screenshot.

    Build output

    Error: Flash Download failed - Could not load file 'E:\PROJECT_EDL\NORDIC\DeviceDownload\nRF5SDK1702d674dde\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\pca10040\s112\arm5_no_packs\_build\nrf52832_xxaa.axf'
    Flash Load finished at 18:41:25
    Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s112\\hex\\s112_nrf52_7.2.0_softdevice.hex"
    Internal command error
    Error: Flash Download failed - Target DLL has been cancelled
    Flash Load finished at 18:41:36

Children