Hi,
Iam using FRDM-KL26Z board for developing a MKL16 based code. But I guess there is a difference between MKL26Z and MKL16 startup code. How can I modify it?
Hi @BPR
The startup code is basically the same, the difference is that the KL26Z has the inclusion of an USB interrupt, see thread bellow.
Best Regards, Miguel.
Hi, But when Iam flashing the hex file. This is the issue I'm facing
Selected file: C:\Users\PBR\Desktop\ExampleProject.hex
Data file contains 1 memory range:
#0: 0x00000000 - 0x0000B757 (46936 Bytes)
Conecting to J-Link...
Connecting to target...
Downloading...
ERROR: Could not download file.
Done.
I build the code with no errors and warnings. Unable to what is the issue with the hex file generated.
Hi @BPR
Can you also tell me how did you generate the hex file and and where do the files you are able to flash come from?
Best Regards, Miguel.
I tried porting MKL16 code from KEIL IDE to MCUXpresso. I took MKL26/FRDM board example and modified it to the MKL16 code and then build it without any errors. But while flashing the binary file is not getting flashed. Other example hex files are flashing but the modified example hex file is not able to flash stating the above error in the thread.
Hi @BPR
Can you tell me the modifications you made?
Are the modifications made directly from the working projects?
Have you tried using directly MCUXpresso and the SDK?
Sorry that I'm making a lot of questions I require more details.
Best Regards, Miguel.