Hello.
Unfortunately it is not working :-(.
I'm creating project with MC9S12ZVL32 and USBDM connection (C, Double optimized, Large memory model, no Processor expert).
Then I'm flashing generated project into MCU with Run -> Run:
DiMemoryDownload() - DI_DNLD_TERMINATE - Programming complete, rc = 7
Starting 3rd party flash programming...
DiMemoryDownload() - DI_DNLD_TERMINATE - Programming memory image...
===========================================================
Programming target
Device = 'MC9S12ZVL32'
Trim, F=0, NVA@0000, clock@0000
Ram[1000...13FF]
Erase=EraseAll
Security=intelligent
Total bytes=110
doRamWrites=T
And again...
Failed to resume target process.
Downloading binary to target...
I can use flash programmer "Erase and program" button:
fl::target -lc "LC for Simple Flash"
fl::target -b 0x1000 0x400
fl::target -v off -l off
cmdwin::fl::device -d "MC9S12ZVL32_FLASH" -o "32Kx32x1" -a 0xff8000 0xffffff
cmdwin::fl::device -d -append "MC9S12ZVL32_EEPROM" -o "128x32x1" -a 0x100000 0x10007f
cmdwin::fl::protect all off
Beginning Operation ...
-------------------------
Performing target initialization ...
Device MC9S12ZVL32_EEPROM
Flash Operation.
Unprotecting ....
Unprotecting .............
Unprotect Command Succeeded.
Device MC9S12ZVL32_EEPROM
cmdwin::fl::device -d "MC9S12ZVL32_FLASH" -o "32Kx32x1" -a 0xff8000 0xffffff
cmdwin::fl::image -f "D:\\CW Projects\\bosch_program\\FLASH\\bosch_program.sx" -t "Auto Detect" -re on -r 0xff8000 0xffffff -oe off
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Motorola S-Record Format.
Device MC9S12ZVL32_FLASH
Erasing ..............
Erase Command Succeeded.
Device MC9S12ZVL32_FLASH
cmdwin::fl::write
-------------------------
Flash Operation. ...
Auto-detection is successful.
File is of type Motorola S-Record Format.
Device MC9S12ZVL32_FLASH
Programming ...................
Device MC9S12ZVL32_FLASH
Program Command Succeeded
Flash Operation. done
cmdwin::fl::device -d "MC9S12ZVL32_EEPROM" -o "128x32x1" -a 0x100000 0x10007f
cmdwin::fl::image -f "D:\\CW Projects\\bosch_program\\FLASH\\bosch_program.sx" -t "Auto Detect" -re on -r 0x100000 0x10007f -oe off
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Motorola S-Record Format.
Image size is 0 bytes, nothing to erase.
Nothing to erase. No sectors selected
Erase Command Succeeded.
cmdwin::fl::write
-------------------------
Flash Operation. ...
Auto-detection is successful.
File is of type Motorola S-Record Format.
Device MC9S12ZVL32_EEPROM
Programming ....
Programming warning. Can't program 8 bytes to address 0xfffea8 because this range isn't included in the selected modules!
Programming warning. Can't program 8 bytes to address 0xffff08 because this range isn't included in the selected modules!
Programming warning. Can't program 8 bytes to address 0xffff80 because this range isn't included in the selected modules!
Programming warning. Can't program 8 bytes to address 0xffff98 because this range isn't included in the selected modules!
Programming warning. Can't program 8 bytes to address 0xffffc8 because this range isn't included in the selected modules!
Programming warning. Can't program 8 bytes to address 0xfffff8 because this range isn't included in the selected modules!
Device MC9S12ZVL32_EEPROM
Program Command Succeeded
Flash Operation. done
Any ideas?