Recent Posts

Pages: [1] 2 3 ... 10
1
ARM Cortex / Re: Problems to programm external Flash with FM.exe command line
« Last post by Andy Ayre on April 07, 2017, 09:14:53 am »
Hi, I responded to your email yesterday afternoon with some questions and I didn't see a response back.

Programming external flash isn't supported on the command line. If you are using LabView you should use the included VI which uses the C# DLLs and modify it to program external flash that way.

Andy
2
ARM Cortex / Problems to programm external Flash with FM.exe command line
« Last post by Thorsten on April 07, 2017, 07:09:12 am »
Hello
I have the following problem. I must program the external flash of the LPC1787.
With the GUI there is no problem. I select after the standard programming of the LPC1787 over select device the external flash and program it.
But when i select the same device with the command line, it said that the device is unknown. I tried every external flash to look what the command line said but, it is the same.
This parameters works fine
COM(8, 115200)
DEVICE(LPC1787, 0.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
LINEFEEDS(TX, RX)
HEXFILE(H:\HMI.hex, NOCHECKSUMS, NOFILL, PROTECTISP)

The following commands works over the GUI FlashMagic.exe but not over the command line FM.exe. The device is a hexfile which gives my a collegue. It works over GUI and was copied in the directory Bootloaders
COM(8, 57600)
DEVICE(S29GL128 Flash on LPC1787 57600bd, 0.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
LINEFEEDS(TX, RX)
HEXFILE(H:\HMI.hex, NOCHECKSUMS, NOFILL, PROTECTISP)


Thanks for help
3
You bought a new chip that has been out of production for years? I am skeptical that you bought a genuine part. If it is genuine then I think it has been reclaimed from some old product - that is why it is locked. New parts are not locked. I would return it for a refund.

My advice is to not start a new project on an obsolete chip - switch to ARM-Cortex or something else that is still in production and supported.

Yes you can do parallel programming with the PLCC package. We don't have any information on doing that - you would need to remove it from it's socket and put it into the programmer. I would expect there are many available.

P89C51RD2 and P89V51RD2 are completely different. Only the part names are similar. Instructions for one do not apply to the other.

Andy
4
Hi,

I am working with P89C51RD2(PLCC package). I purchase a new IC. Start to program using flash magic. When I press Start, it shows a message "Security bit 1 is set".

And from ISP->ReadSecurity, I come to know that Security bits 1, 2 and 3 all are set.

I want to remove these security bits. From study I come to know that, By full chip erase and downloading Bootloader it can be solve.

But Bootloader of P89C51RD2 is not found. Can anybody provide me the link to download it.

One more thing , Parallel programming is the solution but Can I do the parallel programming with PLCC package?

If yes then please provide the steps to do that.

I go through http://forum.flashmagictool.com/index.php?topic=3320.0  which provides the steps to update bootloader for P89V51RD2. Is this steps are same for P89C51RD2 updating bootloader??

Regards
Utsavi Bharuchwala
5
LPC2xxx / Re: communication error
« Last post by Andy Ayre on March 06, 2017, 10:39:40 am »
Are you able to read the device signature (ISP -> Read Signature...)?

Andy
6
LPC2xxx / communication error
« Last post by xavier tisan on March 05, 2017, 05:31:55 am »
hai am using lpc2148 board but i can't program my board it showing an error which shows "unable to communicate (transmit/recieve)".plz tell me wht shoul i do to program my board
7
General Discussion / Re: flash magic download
« Last post by DannyMagician4 on March 03, 2017, 01:29:51 pm »
I download Magic flash without any problems. I have to agree with
 Andy Ayre
Quote
I just tried it and it worked for me.

Try clearing your browser cache. If you have FireFox it's been getting steadily worse for the last year IMO - try swapping it for Chrome.

Andy
8
ARM Cortex / Re: not programming under windows 10
« Last post by Andy Ayre on January 27, 2017, 10:25:23 am »
Richard,

Thank you very much for the detailed analysis. When there are problems suspected with RS232 drivers, cables, Windows settings it comes down to the user having to try things and often people contact us expecting us to just be able to fix it for them without any information or any further help from them. With the information you have posted others can now try the same settings on their PCs if they run into a problem like this.

Andy
9
ARM Cortex / Re: not programming under windows 10
« Last post by microflechs on January 26, 2017, 09:57:46 pm »
Hi Andy,

first as a summary:  It's working now.

History:

1.) PC 1:   PC with  WIN XP,  with internal RS232 , several USB connectors on keyboard
2.) PC 2:    PC with  WIN 10,  with internal RS232 SIONIC  OXPCIe95x (CH38), several USB connectors
3.) PC 3:   PC with  WIN 10,  no internal RS232, two USB connectors
4.) USB to RS232 Adapter Type 1:  RS 550-170  (Profilec Driver: 3.8.3.0 under Windows 10)
5.) USB to RS232 Adapter Type 2:  RS 514-0844 ( Roline / ASIX  Treiber 1.18.12.0)

6.) Always using same board with LPC1788 , always using same RS232 cable

7.) Using PC1   its was always working (also before I wrote the ticket) using internal RS232 or USB to RS232 adapter Type 1 or adapter Type 2

8.) When I wrote the ticket it's not working with PC 2 and PC 3 (using internal RS232 or UBB to RS232 adapter type 1 or 2)
always delivers: Operation Failed (Programming - failed to send data to the device)

9.) With your help:

Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

it's working  on PC2 and PC 3   using   USB to RS232 adpater 1  or 2

Other settings delivers failure

10.) Use the same settings

Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

using PC2 and the internal RS232 the programming starts but on a different points ends with :"Unable to communicate (Transmit/Receive)"

Now I modified the settings of the internal RS232
System Settings >> Device Manager >> COM 2 >> Properties>>  Port Settings >> Advanced Settings:

Set "Use FiFo buffers" to true ( checkmark set)
set "Receive Buffer" to 224 ( = maximum value)
set "Transmit Buffer" to 256 ( = maximum value)
Restart PC!

Now programming is always successful but the verification always delivers "Unable to communicate (Transmit/Receive)"

Setting now back:
Set "use my Line Feed Settings"  to false  ( checkmark not set)
Now programming and verification works  on PC2 and internal RS232.


11.) Conclusion:

11.a)
Using Windows 10   with external USB to RS232 converter needs:
Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

11.b)
Using Windows 10   with internal RS232:
Set "use my Line Feed Settings"  to false 
And RS232 Device settings:
Set "Use FiFo buffers" to true ( checkmark set)
set "Receive Buffer" to 224 ( = maximum value)
set "Transmit Buffer" to 256 ( = maximum value)

Thanks a lot for help!

I copied this Information also to the ticket, you may add additional information to the ticket if you like.
Ticket can be marked as solved.

Kind Regards
Richard
10
ARM Cortex / Re: not programming under windows 10
« Last post by Andy Ayre on January 23, 2017, 10:25:28 am »
Send to the email address show in Help -> About, referencing this topic.
Pages: [1] 2 3 ... 10