PT2000 build error

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

PT2000 build error

Jump to solution
575 Views
Gelby
Contributor III

Hello,

I'm using PT2000 Developer Studio v 1.4.3.0 under Windows.

I crated a new project using the default template "Peak and Hold Project with DC to DC Converter" proposed by the SW, leaving all the default values for the parameters (IBoost, Ipeak, IHold ecc), I made no modification to the code at all and I ran the build.

The result is a Build Error window you see below

alessandrocorti_0-1780911310661.png

On the right side of the IDE on the build output window I see:

Starting build...
Deleting previous output files
launching assembler for NXP MC33PT2000
Java RUNTIME version used for PSC microcode is : 1.8.0_371
Java BUILD version used for PSC microcode is : 1.6.0_18
Using default Syntax file: config\syntax.xml Version: 1.9.5 for Device: PT2000
Compiling source from source file : E:\FIRMWARE\PT2000\Test\MicrocodeCh1\ch1.psc
Cipher with NFSR : FE71689514A0756CF637 , LFSR : 1EC7AD880E5E9E70D898
ASSEMBLER ERROR (0011) : E:\FIRMWARE\PT2000\Test\MicrocodeCh1\ch1.psc LINE 59 : Unknown instruction or argument. Instruction ignored
Assembly Failed.

launching assembler for NXP MC33PT2000
Java RUNTIME version used for PSC microcode is : 1.8.0_371
Java BUILD version used for PSC microcode is : 1.6.0_18
Using default Syntax file: config\syntax.xml Version: 1.9.5 for Device: PT2000
Compiling source from source file : E:\FIRMWARE\PT2000\Test\MicrocodeCh2\ch2.psc
Cipher with NFSR : FE71689514A0756CF637 , LFSR : 1EC7AD880E5E9E70D898
ASSEMBLER ERROR (0011) : E:\FIRMWARE\PT2000\Test\MicrocodeCh2\ch2.psc LINE 54 : Unknown instruction or argument. Instruction ignored
Assembly Failed.

launching assembler for NXP MC33PT2000
Java RUNTIME version used for PSC microcode is : 1.8.0_371
Java BUILD version used for PSC microcode is : 1.6.0_18
Using default Syntax file: config\syntax.xml Version: 1.9.5 for Device: PT2000
Compiling source from source file : E:\FIRMWARE\PT2000\Test\MicrocodeCh3\ch3.psc
Cipher with NFSR : FE71689514A0756CF637 , LFSR : 1EC7AD880E5E9E70D898
Binary CRC MSB : 1100111111101100, LSB : 0111100111011011
Hex CRC MSB : 0xCFEC, LSB : 0x79DB
Assembly completed with success.

Successfully created SPIGen load file
E:\FIRMWARE\PT2000\Test\SPIGenMC33PT2000Files.txt

 

Only the Channel 3 code (the one for the fuel pump and DCDC management) is compiled with success, the other two channels stops the assembly on the first code instruction (line 59 and line 54 respectively for the Channel 1 and Channel 2).

Where am I wrong?

Please help.

Regards.

 

0 Kudos
Reply
1 Solution
323 Views
Gelby
Contributor III

Hello, finally I found what the problem was, the IDE generated the line code "init0: stgn gain8,68 sssc; " with the comma as a decimal separator while the IDE expect the point as decimal  separator, by substituting the gain8,68 with gain8.68 all can be build.

Thank for your support.

View solution in original post

Tags (1)
0 Kudos
Reply
5 Replies
357 Views
RafaR
NXP Employee
NXP Employee

Hello alessandrocorti

I think you introduced some error in line 59 of MicroCode channel 1 and in line 54 of MicroCode channel 2. But you didn’t notice.

Can you  recreate a new porject or send your issue project to us. We can help with a check on your code.

Have a great day and best of luck.

0 Kudos
Reply
324 Views
Gelby
Contributor III

Hello, finally I found what the problem was, the IDE generated the line code "init0: stgn gain8,68 sssc; " with the comma as a decimal separator while the IDE expect the point as decimal  separator, by substituting the gain8,68 with gain8.68 all can be build.

Thank for your support.

Tags (1)
0 Kudos
Reply
336 Views
Gelby
Contributor III

Hello RafaR,

I have done nothing on the code generated automatically by the IDE, I left all the default settings and just after the project generation I tried to build it and the result is the errors on the Channel1 and Channel2 I reported yet.

Did you tried to generate (using the default parameters settings)/ build a brand new one project using the 1.4.3.0 IDE like me? whats the result? are you able to build with success?

For clarity, I attach the project generated by the IDE.

Thanks for your support.

Tags (1)
0 Kudos
Reply
551 Views
RafaR
NXP Employee
NXP Employee

Hello alessandrocorti

Good day!

Before working with this version, were you working with another one and then updated it, or were you able to use it previously and only recently encountered this error?

This error can occur because the computer has an older version and the files may be confusing. If that's the case, I would advise you to uninstall everything, make sure to delete all files, and download the IDE again.

I hope this information has helped you, please let me know if you need help with anything else.

Have a great day and best of luck.

0 Kudos
Reply
538 Views
Gelby
Contributor III

Hello RafaR,

this is the first time I install/run the IDE, the installation is a fresh new one, no one were present before.

Regards

Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2378274%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378274%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20using%20PT2000%20Developer%20Studio%20v%201.4.3.0%20under%20Windows.%3C%2FP%3E%3CP%3EI%20crated%20a%20new%20project%20using%20the%20default%20template%20%22Peak%20and%20Hold%20Project%20with%20DC%20to%20DC%20Converter%22%20proposed%20by%20the%20SW%2C%20leaving%20all%20the%20default%20values%20for%20the%20parameters%20(IBoost%2C%20Ipeak%2C%20IHold%20ecc)%2C%20I%20made%20no%20modification%20to%20the%20code%20at%20all%20and%20I%20ran%20the%20build.%3C%2FP%3E%3CP%3EThe%20result%20is%20a%20Build%20Error%20window%20you%20see%20below%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22alessandrocorti_0-1780911310661.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22alessandrocorti_0-1780911310661.png%22%20style%3D%22width%3A%20397px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22alessandrocorti_0-1780911310661.png%22%20style%3D%22width%3A%20397px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22alessandrocorti_0-1780911310661.png%22%20style%3D%22width%3A%20397px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22alessandrocorti_0-1780911310661.png%22%20style%3D%22width%3A%20397px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F388220iED037E2603B259CE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22alessandrocorti_0-1780911310661.png%22%20alt%3D%22alessandrocorti_0-1780911310661.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EOn%20the%20right%20side%20of%20the%20IDE%20on%20the%20build%20output%20window%20I%20see%3A%3C%2FP%3E%3CP%3EStarting%20build...%3CBR%20%2F%3EDeleting%20previous%20output%20files%3CBR%20%2F%3Elaunching%20assembler%20for%20NXP%20MC33PT2000%3CBR%20%2F%3EJava%20RUNTIME%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.8.0_371%3CBR%20%2F%3EJava%20BUILD%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.6.0_18%3CBR%20%2F%3EUsing%20default%20Syntax%20file%3A%20config%5Csyntax.xml%20Version%3A%201.9.5%20for%20Device%3A%20PT2000%3CBR%20%2F%3ECompiling%20source%20from%20source%20file%20%3A%20E%3A%5CFIRMWARE%5CPT2000%5CTest%5CMicrocodeCh1%5Cch1.psc%3CBR%20%2F%3ECipher%20with%20NFSR%20%3A%20FE71689514A0756CF637%20%2C%20LFSR%20%3A%201EC7AD880E5E9E70D898%3CBR%20%2F%3EASSEMBLER%20ERROR%20(0011)%20%3A%20E%3A%5CFIRMWARE%5CPT2000%5CTest%5CMicrocodeCh1%5Cch1.psc%20LINE%2059%20%3A%20Unknown%20instruction%20or%20argument.%20Instruction%20ignored%3CBR%20%2F%3EAssembly%20Failed.%3C%2FP%3E%3CP%3Elaunching%20assembler%20for%20NXP%20MC33PT2000%3CBR%20%2F%3EJava%20RUNTIME%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.8.0_371%3CBR%20%2F%3EJava%20BUILD%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.6.0_18%3CBR%20%2F%3EUsing%20default%20Syntax%20file%3A%20config%5Csyntax.xml%20Version%3A%201.9.5%20for%20Device%3A%20PT2000%3CBR%20%2F%3ECompiling%20source%20from%20source%20file%20%3A%20E%3A%5CFIRMWARE%5CPT2000%5CTest%5CMicrocodeCh2%5Cch2.psc%3CBR%20%2F%3ECipher%20with%20NFSR%20%3A%20FE71689514A0756CF637%20%2C%20LFSR%20%3A%201EC7AD880E5E9E70D898%3CBR%20%2F%3EASSEMBLER%20ERROR%20(0011)%20%3A%20E%3A%5CFIRMWARE%5CPT2000%5CTest%5CMicrocodeCh2%5Cch2.psc%20LINE%2054%20%3A%20Unknown%20instruction%20or%20argument.%20Instruction%20ignored%3CBR%20%2F%3EAssembly%20Failed.%3C%2FP%3E%3CP%3Elaunching%20assembler%20for%20NXP%20MC33PT2000%3CBR%20%2F%3EJava%20RUNTIME%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.8.0_371%3CBR%20%2F%3EJava%20BUILD%20version%20used%20for%20PSC%20microcode%20is%20%3A%201.6.0_18%3CBR%20%2F%3EUsing%20default%20Syntax%20file%3A%20config%5Csyntax.xml%20Version%3A%201.9.5%20for%20Device%3A%20PT2000%3CBR%20%2F%3ECompiling%20source%20from%20source%20file%20%3A%20E%3A%5CFIRMWARE%5CPT2000%5CTest%5CMicrocodeCh3%5Cch3.psc%3CBR%20%2F%3ECipher%20with%20NFSR%20%3A%20FE71689514A0756CF637%20%2C%20LFSR%20%3A%201EC7AD880E5E9E70D898%3CBR%20%2F%3EBinary%20CRC%20MSB%20%3A%201100111111101100%2C%20LSB%20%3A%200111100111011011%3CBR%20%2F%3EHex%20CRC%20MSB%20%3A%200xCFEC%2C%20LSB%20%3A%200x79DB%3CBR%20%2F%3EAssembly%20completed%20with%20success.%3C%2FP%3E%3CP%3ESuccessfully%20created%20SPIGen%20load%20file%3CBR%20%2F%3EE%3A%5CFIRMWARE%5CPT2000%5CTest%5CSPIGenMC33PT2000Files.txt%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EOnly%20the%20Channel%203%20code%20(the%20one%20for%20the%20fuel%20pump%20and%20DCDC%20management)%20is%20compiled%20with%20success%2C%20the%20other%20two%20channels%20stops%20the%20assembly%20on%20the%20first%20code%20instruction%20(line%2059%20and%20line%2054%20respectively%20for%20the%20Channel%201%20and%20Channel%202).%3C%2FP%3E%3CP%3EWhere%20am%20I%20wrong%3F%3C%2FP%3E%3CP%3EPlease%20help.%3C%2FP%3E%3CP%3ERegards.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2378701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20RafaR%2C%3C%2FP%3E%3CP%3Ethis%20is%20the%20first%20time%20I%20install%2Frun%20the%20IDE%2C%20the%20installation%20is%20a%20fresh%20new%20one%2C%20no%20one%20were%20present%20before.%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2378500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20alessandrocorti%3C%2FP%3E%0A%3CP%3EGood%20day!%3C%2FP%3E%0A%3CP%3EBefore%20working%20with%20this%20version%2C%20were%20you%20working%20with%20another%20one%20and%20then%20updated%20it%2C%20or%20were%20you%20able%20to%20use%20it%20previously%20and%20only%20recently%20encountered%20this%20error%3F%3C%2FP%3E%0A%3CP%3EThis%20error%20can%20occur%20because%20the%20computer%20has%20an%20older%20version%20and%20the%20files%20may%20be%20confusing.%20If%20that's%20the%20case%2C%20I%20would%20advise%20you%20to%20uninstall%20everything%2C%20make%20sure%20to%20delete%20all%20files%2C%20and%20download%20the%20IDE%20again.%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20has%20helped%20you%2C%20please%20let%20me%20know%20if%20you%20need%20help%20with%20anything%20else.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2384266%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2384266%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20alessandrocorti%3C%2FP%3E%0A%3CP%3EI%20think%20you%20introduced%20some%20error%20in%20line%2059%20of%20MicroCode%20channel%201%20and%20in%20line%2054%20of%20MicroCode%20channel%202.%20But%20you%20didn%E2%80%99t%20notice.%3C%2FP%3E%0A%3CP%3ECan%20you%20%26nbsp%3Brecreate%20a%20new%20porject%20or%20send%20your%20issue%20project%20to%20us.%20We%20can%20help%20with%20a%20check%20on%20your%20code.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2384731%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2384731%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20RafaR%2C%3C%2FP%3E%3CP%3EI%20have%20done%20nothing%20on%20the%20code%20generated%20automatically%20by%20the%20IDE%2C%20I%20left%20all%20the%20default%20settings%20and%20just%20after%20the%20project%20generation%20I%20tried%20to%20build%20it%20and%20the%20result%20is%20the%20errors%20on%20the%20Channel1%20and%20Channel2%20I%20reported%20yet.%3C%2FP%3E%3CP%3EDid%20you%20tried%20to%20generate%20(using%20the%20default%20parameters%20settings)%2F%20build%20a%20brand%20new%20one%20project%20using%20the%201.4.3.0%20IDE%20like%20me%3F%20whats%20the%20result%3F%20are%20you%20able%20to%20build%20with%20success%3F%3C%2FP%3E%3CP%3EFor%20clarity%2C%20I%20attach%20the%20project%20generated%20by%20the%20IDE.%3C%2FP%3E%3CP%3EThanks%20for%20your%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2385499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PT2000%20build%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2385499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20finally%20I%20found%20what%20the%20problem%20was%2C%20the%20IDE%20generated%20the%20line%20code%20%22init0%3A%20stgn%20gain8%2C68%20sssc%3B%20%22%20with%20the%20comma%20as%20a%20decimal%20separator%20while%20the%20IDE%20expect%20the%20point%20as%20decimal%26nbsp%3B%20separator%2C%20by%20substituting%20the%26nbsp%3Bgain8%2C68%20with%26nbsp%3Bgain8.68%20all%20can%20be%20build.%3C%2FP%3E%3CP%3EThank%20for%20your%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E