AnsweredAssumed Answered

CMM FILE FOR MC9S12GN32 CONTROLLER

Question asked by nandish gurulingappa on Oct 4, 2018

Hello All,

 

I am newbie for lauterbach, facing issue in lauterbach by using CMM Script for S12GN32 Controller and Cosmic compiler, I am able to loading the .elf file successfully but its not hitting the breakpoint anywhere in the source code then I load the symbol also, please one can help me what is the wrong in the below script,  

 

Winpage.reset
SYStem.Reset
SYStem.CPU MCS12GN32
SYStem.UP
area.reset
area.view
print "SYStem is up"
Dialog.yesno "Do you want to flash the program "
ENTRY &temp
if &temp
(
Print "flashing Done"
FLASH.RESET
FLASH.erase all
Flash.auto all

 MAP.BOnchip 0x00000--0xFFFFF    
 data.load.elf " COSM12.elf"

 FLash.auto off
 print "flashing done"
 SYmbol.SPath.SetRecurseDIR "..\..\Implementation\"
 DATA.LIST
 R.Set PC HAL_Sys_Init
 )
 Else
 (
  print "Flashing not done"
 )

 ENDDO

 

Thanks and Best Regards

Nandish SG

Outcomes