Hi
I am attempting to connect memtool version 4 with my XC161CJ-16F board. But I don't want to connect it straight away because I am not sure with some of the memtool's configurations.
My board is currently using 40MHz crystal clock. Therefore I enter '40MHz' in internal clock frequency but I am not sure about external clock frequency because I am not using it at this stage so I set 0 in the box. Is that correct?
I don't have a clue about 'step' which offer me to choose from 'ES-AA', 'ES-AB', 'ES-AC' and 'other'. Can you please advise me on this one?
My board is currently using 38400 baudrate so I enter 38400 and connect to COM1 port.
Is there anything that I may overlook ?
Help from memtool was a bit thin and lack of troubleshooting list to solve my problem quickly
Regards
'TerribleLearner'
First a comment, the ULINK can erase/program the internal Flash of the XC161CJ.
If you want to use Memtool then in most cases you don't need to change the frequency of the device. In your case you said you are using a 40MHz clock. When the device starts up it uses the external frequency divided by two as the system frequency (in your case 20MHz). So I wouldn't touch the clock setting.
To look for the device type and step, it is laser marked on the device itself. The 'ES-AA' is telling you that it is an 'Engineering Sample' device and its stepping is major=Ax and minor=xA. If your device has a newer stepping then use the latest one listed for your device.
To make the bootstrap loader work you need to put the device into ASC bootloader mode.
The XC161 enters BSL mode triggered by external configuration during a hardware reset: - when selected via bitfield SMOD at the end of an external reset (EA = 0) - when pin RD is sampled low at the end of an internal reset (EA = 1)
Hope that helps...