Can I write some code in the KL03 to allow it to write a parameter into its flash? Paramater write tot needed very often, but read frequently
Hi
Flash parameters are possible with the KL03 as with any other Kinetis part.
See http://www.utasker.com/kinetis/FRDM-KL03Z.html
At the bottom of that page there is a binary that you can try and also a link to a video explaining the operation. All code, including a number of different parameter system options, is available in the uTasker project (allows also simulation of the KL03 and its internal Flash operation).
Regards
Mark
Thanks Mark,
Nice little chip, price is about right in volume too.
I'm going to use the KL03 using Forth Inc's SwiftX cross compiler
system and Segger Jlink
Kind regards
Tone
Tony
I have never used SwiftX cross compiler (and IDE).
What is the advantages compared to the cross compilers and IDEs that are commonly used for Kinetis developments [MCUXpresso, KDS, CW10.x, S32, Atollic, IAR, Keil, Rowley, Green Hills, CooCox etc.] ?
Regards
Mark
Dear Mark,
I've been using the Forth Language for nearly 40 years on many, many
projects, big and small. It's never let me down.
Fully interactive, like BASIC but hugely more sophisticated NO
BREAKPOINTS NEEDED
No linker
Easier to read than C code
Built-in multi-tasker
Built-in Assembler
EXTREMELY compact code*
Same language and operating system across numerous targets, all
from a single vendor
Can extend the cross-compiler as needed. This is quite easy
and can be hugely useful in writing readable code.
I once wrote the code for a PLC including its application on a 6801
single chipper, residing in just 4KB. How about that for compact?
Concerning my future project...
The original version used the ATmega168
Then another variant the ATtiny1634
I was going to use an ATtiny84A on the next one, until I discovered the KL03
I've just done 2 projects on the SilLabs M0+ and fallen in love with 32bits
all of these are in Forth
Kind regards
Tone
Tony
Thanks for the information. I have heard from others about how good Forth can be but I never used it myself. Also I have never had a customer who used it (or requested it) so I suppose that is why I have also stuck with C. I wonder whether there are any Kinetis peripheral libraries in Forth? (Or TCP/IP stacks and USB libraries suitable for Kinetis parts).
Regards
Mark