Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jorge

Pages: [1] 2
1
Hi Mark!

I´m looking for a function that jump into the "m_text" section memory, I´m trying to match the "tags" of the sections memory of the utasker code and my test aplication.
Do you know the function or the tags that jump to the application in my uC? or how I can match the utasker and my app?
I am saying this because I found a piece of code in the Document Number: AN4498 of NXP: CodeWarrior Linker Command File (LCF) for Kinetis.

Thanks!
Regards

2
Hi Mark!

I´m retaking the project, I already can manipulate the headers, but the app it is still not compatible with utasker. The headers are 0x2000fc00 (stack pointer initial number) and 0x8b41 (the program counter initial value) as you said. I can manipulate the program counter initial value changing origin of the m_text section.
I notice something weird , 873d it is constantly repeatedly.
Can you get me some feedback?

Regards

3
Hi Mark!

I changed my App for a new one. I used the processor expert to make blink the LED E2 in my tower. I used the ProcessorExpert.ld and I change the variable _estack=0x20000000, for _estack=0x20005000 and the header of the binary file change. I remembered you told me the first byte is the stack pointer and the second one it is the entry address.

But I still don´t find the direct relation between SCB_VTOR register and the second byte of the binary file and also the address of the memory section m_interrupt.

Is there another variable to change in order to manipulate the second byte of the binary file?

I almost forgot to add SCB_VTOR = (uint32_t)(&__vect_table) in my App.

Thanks alot Mark.

4
Hi

I attached an image that show the .ld archive. I configured that archive and I loaded for the test program.

Regards.

5
Hi Mark

Like you said, I have:
0x2000fc00
0x00000b41 instead of 0x00008b41

I attached a pic, but I still dont understand why this is happen. I select Project->Properties->C/C++ Build -> Settings->Tool Settings -> Additional Tools-> Create Flie Image and the go to ARM Ltd Windows GNU create Flash Image->Output->Output file format (-O): Binary.
I don't why this is happen, the application I am trying to load it is an example of MQX.

Thanks and regards

6
the .map

7
I attached one application.
Can you send me a sample application?

Thank you.

8
Hi Mark!

I already changed the .lcf and the .map files like you suggested, I added the SECTION of the m_reset and prog_flash, I configured the Codewarrior (for the application) in the option "create Flash Image" -> Output File Format (-O): binary, and in that process generate a .hex file. I changed the name of the archive to testdefinitivo.bin and I converted the file in the CMD with the command: uTaskerConvert testdefinitivo.bin file2.bin -0x22ba -b267a8200926 and made another test with: uTaskerConvert testdefinitivo.bin raw.bin -b in a separate document.
But I still dont reach my objetive. I uploaded my binary file but my MSD dissapear, I reboot the device and the file uploaded, the LED blink and after centain time the LED mantain a logical one for 5 seconds and after that all the system collapse and stop it´s work.

do you know what is happening?

Regards Mark and thank you so much.

9
Almost forgot the binary files.

I used the UtaskerConvert.exe in the CMD in order to translate the .hex file (generated by CodeWarrior) into .bin file.
I also attached the archives.

Regards.

10
more docs

11
Hi Mark!

Thanks a lot for your support. I attached the archives.
I still need to define the interrupt function related to the Document Number: AN4498.

Thanks a lot again

12
µTasker general / MSD and binary file are not working together
« on: April 22, 2016, 08:04:55 PM »
Hi everyone!

I have problems with the MSD. First, I load the binary file I found in this page: uTaskerSerialBoot_TWR-K53N512_KBOOT_HID_UART_MSD_SDHC.bin, I can see the MSD window. When I load the binary file (my little application) the msd show me the size of the binary file loaded. At then, the window of the MSD disappear and the blinking LED of the bootloader turn OFF. I tried to start my program but it is not working, after that, I pressed the reset button and the SW2 switch, again the MSD appear and I can see the binary file I loaded.

My program it is a blinking LED in the E2, instead of E1 (used for uTasker).

I changed the .lcf file with the specifications of the manual, I tried to use the uTaskerConvert.exe, uTaskerCombine.exe, I tried to changed the extension from file.hex (generated from CW) to file.bin.

I suppose the problem it is with the program I´m trying to load. There are certain thing that I still don´t understand.
The questions are:

How I can include the standard reset vector in my program?
my program is working at 50Mhz. it is this compatible with the uTasker?
do I need to reset the state of the ports in the begin of my program?
somebody know why it is not working?

I attached the pics for better understanding.

Thanks and regards!

13
µTasker general / Re: USB not supported
« on: April 12, 2016, 06:45:05 PM »
Hi Mark!

I followed all the instruction of the link and I also download some SDK support for the KDS in the option Help-InstallNewSoftware.
The photos show you my program and how it´s configurated and the 3 errors I still have.
why this is not working?

Thanks a lot!

14
µTasker general / Re: USB not supported
« on: April 06, 2016, 10:49:32 PM »
The same error is happen with KDS. Why this is happen?
I added the BSP in CW

15
µTasker general / Re: USB not supported
« on: April 06, 2016, 07:30:27 PM »
Hi Mark!

Thanks for your support. I already downloaded the 4.11 version, but I have a problem by trying to build the project. I have 2 errors that you can see in the pictures, I looked for the PATH to add at the project but I don´t know what variable to add.

Regards and thanks again.

Pages: [1] 2