Switch from 1767 to 1782

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User13528
Level 1
Level 1
Hi

I have a Tricore AUDO board which I upgraded from a TC1767 to TC1782 by replacing the processor and TLE7368-E I appear to be able to get my code running after commenting out the initial MAIN_vResetCheck() function created by DAvE it appears to lock up and prevent jtag from working when I goto Prescaler mode .
This board has been working fine when a TC1767 and is basically the EasyKit TC1782 board
When I put it into SCU_PLLCON0.bits.VCOBYP = 1; // set VCO bypass (goto Prescaler Mode)

I have a 20Mhz Crystal across XTAL1-2
Also before switching to bypass I reset VCO and disconnect OSC from PLL
SCU_PLLCON0.bits.VCOBYP = 0; // reset VCO bypass
SCU_PLLCON0.bits.SETFINDIS = 1; // disconnect OSC from PLL

SCU_PLLCON0.bits.VCOBYP = 1; // set VCO bypass (goto Prescaler Mode)
debugger will no longer break



Carl
0 Likes
1 Reply
User13528
Level 1
Level 1
It turned out to be a dry joint on the XTAL pin so hardware not software.
0 Likes