Main Menu
Menu

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.

Show posts Menu

Messages - jashugan

#1
ARM Cortex / Re: Avoid writing Flash pages
October 27, 2015, 09:45:26 AM
Ok! I'll try to apply your advice! Thank you.
#2
ARM Cortex / Re: Avoid writing Flash pages
October 27, 2015, 03:00:00 AM
Yes, you're correct, but if I try to upload the new firmware via bootloader, it overwrites the upper banks, used in the program as EEprom emulation, so I lose all information stored.
Is there any way (in the Flashmagic or in the LPCXpresso) to tell the bootloader not to write those banks? Perhaps via the linker file, I don't know. Just for help, I'm attaching the linker file.

Thank you,
Mattia
#3
ARM Cortex / Avoid writing Flash pages
October 22, 2015, 05:03:33 AM
Hello,
I'm using an LPC1114, and I have a program that simulates the flash as an EEprom. The four upper banks are reserved for this use. When I run the bootloader, I would like not to change the values in these four banks, is it possible? At the moment, the program writes entirely the flash.

Thank you,
Mattia Berton
#4
ARM Cortex / Re: Programming time LPC1114
June 25, 2015, 08:03:09 AM
Hello Andy,
you were right! Under the COM port option, advanced, there is a parameter called BM option Latency timer. The default value is 16 ms. Reducing it to 1 ms, I reduced the programming time to 41 s in Half duplex mode using 485 communication.

Thank you for your support.

Mattia Berton
#5
ARM Cortex / Re: Programming time LPC1114
June 25, 2015, 12:40:47 AM
I just tried to program the LPC1114 directly from an USB-TTL converter, programming directly via UART.
Programming time in HALF DUPLEX: 9min 37s
Programming time in FULL DUPLEX: 18s
#6
ARM Cortex / Re: Programming time LPC1114
June 23, 2015, 09:44:25 AM
Hello Andy,
sorry for my late answer, I have been moved to another project. However, I still have to solve this problem.
I tried to change my cables, also tried to program them via UART directly in half duplex, but I had the same latency of 20 ms. However, if I move my communication in Full duplex, the programming time is much more faster.
The reason behind it is that there are more than one packet sent in full duplex, while in half duplex only one byte per time is sent. The distance between the packet is still 20 ms.

Is it possible to reduce this latency of 20 ms? Perhaps in windows? I have Windows 7 64 bit.
#7
ARM Cortex / Re: Programming time LPC1114
April 30, 2015, 07:52:22 AM
Unfortunately not, it is used for bootloader and communication. In effect I see on the oscilloscope that each byte waits the successive more than 20 ms. Isn't it possible to reduce this wait time?
#8
ARM Cortex / Programming time LPC1114
April 29, 2015, 02:21:26 AM
Hello,
I downloaded the free version of Flashmagic. When I try to program the LPC1114 via ISP, the programming time is very long, about 7 minutes for programming 32 KB of flash. Is it normal such a long time?
I tried to change the baudrate from 1200 to 230400, but the programming time is always the same more or less. I use the 485 half duplex to communicate. Can I reduce the programming time?

Thank you,
Mattia Berton