How to successfully flash program in MC56F82748 using USB Tap?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to successfully flash program in MC56F82748 using USB Tap?

Jump to solution
1,056 Views
kienfrancis_ure
Contributor II

Hi Folks,

I just want to know how to perform correct flash programming in MC56F82748. Our digital board has 3.3V input as supply for the DSP and have JTAG pins which involves the use of programming pins like TMS, TCK, TDO, TDI, 3.3V, RESET, and GND. The TMS and Reset Pin is pulled-up with a 2.74k resistor. When we try to flash program in the DSP, the error occurred are:

- Core not responding

- Invalid Handle

   

1. Is it enough to have the 3.3V voltage and connected USB Tap to the programming header to successfully flash the program in our DSP?

2. How can I be able to rule out the problems occured in flash programming our device?

Regards,

Kien   

1 Solution
967 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Kien,

If your code always enters void _EntryPoint(void) function when you run your code, it means Reset event happens, the Reset sources may be from Power on reset, watchdog reset, core fault reset...

Firstly, pls disable the watchdog with the code:

    #define DisableWatchdog \
        COP_CTRL &= ~(0x2);

int main(void)

{

   DisableWatchdog;

.......................

}

Because the watchdog is enabled in default  after Reset.

If it can not solve your issue, it is a bit complicated to find out the Reset source.

BR

XiangJun Rong

View solution in original post

3 Replies
967 Views
mohammad_kamil
NXP Employee
NXP Employee

Please share the MCU and programming connector schematic. you are not able to program only this code and you just cant program any code. can you try example code which is there on web for this device.

967 Views
kienfrancis_ure
Contributor II

Hi it seems that the DSP that we are using is at fault. The program(a simple one) successfully flashes.

Additional: But why is it that the debugger seems to be stucked in F_vect.c where it shows that it has a HW_RESET Interrupt. The reset pin is pulled up and we tried to change the settings for the reset pin to be disabled but the problem still exists.

0 Kudos
968 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Kien,

If your code always enters void _EntryPoint(void) function when you run your code, it means Reset event happens, the Reset sources may be from Power on reset, watchdog reset, core fault reset...

Firstly, pls disable the watchdog with the code:

    #define DisableWatchdog \
        COP_CTRL &= ~(0x2);

int main(void)

{

   DisableWatchdog;

.......................

}

Because the watchdog is enabled in default  after Reset.

If it can not solve your issue, it is a bit complicated to find out the Reset source.

BR

XiangJun Rong