Solved! Go to Solution.
The possibility to initialize unused and non-bonded pins has been added to the new version of the Processor Expert (PE 3.02 for the CW 6.1). Service pack with Processor Expert 3.02 should be available within two weeks.
Possible workaround for PE 3.01 or older for initialization of the unbonded pins is to use the "User code after PE initialization" string list. The property "User code after PE initialization" allows you to specify your own initialization code. This code will be placed to the end of the _EntryPoint function located in the CPU module. Please note that at this point the stack pointer is not initialized therefore it is not possible to call any functions. Example of your code is: setReg8Bits(PTCDD, 0x0F);.
Simpler workaround is to use the code setReg8Bits(PTCDD, 0x0F) in the main function. Using the "User code after PE initialization" property is not necessary.
Best Regards
Vojtech Filip
Processor Expert Support Team
UNIS
The possibility to initialize unused and non-bonded pins has been added to the new version of the Processor Expert (PE 3.02 for the CW 6.1). Service pack with Processor Expert 3.02 should be available within two weeks.
Possible workaround for PE 3.01 or older for initialization of the unbonded pins is to use the "User code after PE initialization" string list. The property "User code after PE initialization" allows you to specify your own initialization code. This code will be placed to the end of the _EntryPoint function located in the CPU module. Please note that at this point the stack pointer is not initialized therefore it is not possible to call any functions. Example of your code is: setReg8Bits(PTCDD, 0x0F);.
Simpler workaround is to use the code setReg8Bits(PTCDD, 0x0F) in the main function. Using the "User code after PE initialization" property is not necessary.
Best Regards
Vojtech Filip
Processor Expert Support Team
UNIS