I am kind of frustrated that I have to ask someone here, I try to confirm my KL04 chip flash size by the mark on it. but I checked data sheet and user manual, I didn't find it. I also search the other document, seems to me it is not easy to find out.
did I miss anything?
DS
Solved! Go to Solution.
Hi
The data sheet defines the part identification but I would agree that (at least for the QFN32 parts that I have available) this doesn't match in any way with the actual markings used!
However, if you are not sure and can connect to the chip with a debugger you can read its SIM_SDID (System Device Identification Register) register at address 0x40048024. This will tell you the size of SRAM in the device and if you multiply this value by 8 you will then also know the size of Flash that it has.
Eg. a KL04 in 32 pin package with 4k SRAM and 32k Flash will typically have the value 0x4130402 (the 3 gives the SRAM size as 4k - some values may change with silicon revision)
Regards
Mark
Hi
The data sheet defines the part identification but I would agree that (at least for the QFN32 parts that I have available) this doesn't match in any way with the actual markings used!
However, if you are not sure and can connect to the chip with a debugger you can read its SIM_SDID (System Device Identification Register) register at address 0x40048024. This will tell you the size of SRAM in the device and if you multiply this value by 8 you will then also know the size of Flash that it has.
Eg. a KL04 in 32 pin package with 4k SRAM and 32k Flash will typically have the value 0x4130402 (the 3 gives the SRAM size as 4k - some values may change with silicon revision)
Regards
Mark
Hi Mark
thank you very much for replying my question at Saturday. I am a hardware designer, I have an old design in TI MSP430, I put a Kinetics in parallel, in case I need more resource later. I thought if I put the reset pin low, it will in none active mode, and not affect the board. but it turns out, this doesn't work, I have to burn the flash a program to put it in deep sleep mode. otherwise it will use about 1mA more power. that is why I have to do some software work to put the chip in deep sleep mode.
I am quite sure that the program almost works, because after I use FRDM-02Z load the program, I notice the overall board consume about 0.42mA less. but the chip wont boot by itself. because the reset problem. when I give the BOM to assembly house, I am quite sure it is MKL04Z8VFK4. but in case they made a mistake and installed a wrong chip. I have no way to burn the flash right. that is why I want confirm the Mark on the chip.
all tools I have is a FRDM-02Z, I spent almost two weeks to make it work on my board. ( cut the trace, and solder a wire). I am not ready to start program this chip yet.
I have used Freescale PowerPC processor about 10 years ago. at that time, it is one of the most advanced and reliable chip. may be Micro-controller is new business to Freescale. I am kind of disappointed. even demo board is not work is expected. it took way more time than I expected to just get board flash get loaded. I will spend few more days, if I still get it work, I just blow this chip out of the board.
Appreciate your help.
David