does the rcw source relate to JTAG function

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

does the rcw source relate to JTAG function

Jump to solution
234 Views
alpha_beta_gama
Contributor I

i am using T4240, and i am comfused about rcw source and JTAG function.  Can i use JTAG function (to download program) when i set rcw source to SD/Nor/Nand? Or JTAG is only usable when rcw source is set to hard-coded rcw?

Another question is what the difference between RAM/SRAM/ROM when building a bareboard project? Does it matter when i run or debug it via JTAG?

0 Kudos
Reply
1 Solution
170 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

 

You may use JTAG irrespective of whether the Reset Configuration Word (RCW) source is set to SD, NOR, NAND, or hard‑coded, provided that the system-on-chip (SoC) successfully completes the power‑on reset sequence, all required clocks are operating correctly, and the debug interface has not been intentionally disabled or secured through RCW settings or secure‑boot mechanisms.

The distinctions among ROM, SRAM, and RAM builds primarily concern the code placement and the system initialization requirements:

- SRAM: Suitable for early hardware bring‑up, as it does not require DDR initialization.

- RAM (DDR): Requires DDR memory to be initialized beforehand, either through PBI/u‑boot or via a JTAG‑based initialization procedure.

- ROM: Intended for standalone bootable images, while still allowing debugging after the system has been started.

View solution in original post

0 Kudos
Reply
2 Replies
171 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

 

You may use JTAG irrespective of whether the Reset Configuration Word (RCW) source is set to SD, NOR, NAND, or hard‑coded, provided that the system-on-chip (SoC) successfully completes the power‑on reset sequence, all required clocks are operating correctly, and the debug interface has not been intentionally disabled or secured through RCW settings or secure‑boot mechanisms.

The distinctions among ROM, SRAM, and RAM builds primarily concern the code placement and the system initialization requirements:

- SRAM: Suitable for early hardware bring‑up, as it does not require DDR initialization.

- RAM (DDR): Requires DDR memory to be initialized beforehand, either through PBI/u‑boot or via a JTAG‑based initialization procedure.

- ROM: Intended for standalone bootable images, while still allowing debugging after the system has been started.

0 Kudos
Reply
127 Views
alpha_beta_gama
Contributor I

Thank you for your support. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2297484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edoes%20the%20rcw%20source%20relate%20to%20JTAG%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei%20am%20using%20T4240%2C%20and%20i%20am%20comfused%20about%20rcw%20source%20and%20JTAG%20function.%26nbsp%3B%20Can%20i%20use%20JTAG%20function%20(to%20download%20program)%20when%20i%20set%20rcw%20source%20to%20SD%2FNor%2FNand%3F%20Or%20JTAG%20is%20only%20usable%20when%20rcw%20source%20is%20set%20to%20hard-coded%20rcw%3F%3C%2FP%3E%3CP%3EAnother%20question%20is%20what%20the%20difference%20between%20RAM%2FSRAM%2FROM%20when%20building%20a%20bareboard%20project%3F%20Does%20it%20matter%20when%20i%20run%20or%20debug%20it%20via%20JTAG%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20does%20the%20rcw%20source%20relate%20to%20JTAG%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CDIV%3E%0A%3CP%3EYou%20may%20use%20JTAG%20irrespective%20of%20whether%20the%20Reset%20Configuration%20Word%20(RCW)%20source%20is%20set%20to%20SD%2C%20NOR%2C%20NAND%2C%20or%20hard%E2%80%91coded%2C%20provided%20that%20the%20system-on-chip%20(SoC)%20successfully%20completes%20the%20power%E2%80%91on%20reset%20sequence%2C%20all%20required%20clocks%20are%20operating%20correctly%2C%20and%20the%20debug%20interface%20has%20not%20been%20intentionally%20disabled%20or%20secured%20through%20RCW%20settings%20or%20secure%E2%80%91boot%20mechanisms.%3C%2FP%3E%0A%3CP%3EThe%20distinctions%20among%20ROM%2C%20SRAM%2C%20and%20RAM%20builds%20primarily%20concern%20the%20code%20placement%20and%20the%20system%20initialization%20requirements%3A%3C%2FP%3E%0A%3CP%3E-%20SRAM%3A%20Suitable%20for%20early%20hardware%20bring%E2%80%91up%2C%20as%20it%20does%20not%20require%20DDR%20initialization.%3C%2FP%3E%0A%3CP%3E-%20RAM%20(DDR)%3A%20Requires%20DDR%20memory%20to%20be%20initialized%20beforehand%2C%20either%20through%20PBI%2Fu%E2%80%91boot%20or%20via%20a%20JTAG%E2%80%91based%20initialization%20procedure.%3C%2FP%3E%0A%3CP%3E-%20ROM%3A%20Intended%20for%20standalone%20bootable%20images%2C%20while%20still%20allowing%20debugging%20after%20the%20system%20has%20been%20started.%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2299822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20does%20the%20rcw%20source%20relate%20to%20JTAG%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2299822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20support.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E