P1022 - Issue on HRESET while loading Flash

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

P1022 - Issue on HRESET while loading Flash

552 Views
adamgarrison
Contributor III

I have a more hardware related question. In AN4343, the Design Checklist, on page 26, note 7 on Figure 5 says “CKSTP_OUT0,CKSTP_OUT1 are POR muxed with cfg_romloc and may need to be separated.”

Our struggle right now is we have a 4.7k pull down resistor on CKSTP_OUT1 to set the CFG_ROM_LOC during POR. I had left this CKSTP output disconnected from the COP interface and just used the CKSTP0 signal to drive it directly, figuring that the two cores would halt pretty much in sync during reset assertion.

What appears to be happening though is that core 1 is halting a little slower than core 0, and the Codewarrior TAP is reporting that the device is not halted. However, if we probe the HRESET signal, suddenly it thinks the processor is properly halted and proceeds with trying to load the flash.

Our only theory right now is the extra capacitance of the probe is slowing the HRESET signal down just enough that the other core is able to get halted in time for it to work.

So, to come full circle, what we’re trying to do right now is hook up the CKSTP1 signal through an AND gate as per the design checklist, but it requires a pullup resistor because it looks like it’s an open drain output (though I can’t confirm that anywhere) and so I’m trying to balance the value of that pullup between pulling the signal high enough for the AND gate to recognize a logic high, and still have the P1022 recognize the pulldown for POR configuration.

Does any of that make sense? The quoted text at the very top of the email is really confusing to me right now. I’m not sure at all what “may need to be separated” means in a practical sense.

Labels (1)
Tags (3)
0 Kudos
1 Reply

366 Views
lunminliang
NXP Employee
NXP Employee

Hi,

I have a more hardware related question. In AN4343, the Design Checklist, on page 26, note 7 on Figure 5 says “CKSTP_OUT0,CKSTP_OUT1 are POR muxed with cfg_romloc and may need to be separated.”

I thinks this means the two signals can not be connect together as CKSTP_IN, since they are muxed with cfg_rom_loc to be input during reset. As in Figure 5 of the design checklist, CKSTP_OUT are gated while CKSTP_IN not.

So, to come full circle, what we’re trying to do right now is hook up the CKSTP1 signal through an AND gate as per the design checklist, but it requires a pullup resistor because it looks like it’s an open drain output (though I can’t confirm that anywhere) and so I’m trying to balance the value of that pullup between pulling the signal high enough for the AND gate to recognize a logic high, and still have the P1022 recognize the pulldown for POR configuration.

In P1022DS, Actel A3P600-FGG484 FPGA is used for cfg_rom_loc. And CKSTP_OUT is pulled up with 4.7K to OVDD


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos