|
Redline99
|
 |
« Reply #40 on: August 29, 2009, 01:28:41 PM » |
|
cory1492 is correct, any 3.3v rs232 can work, you only need to do one extra step to get into programming mode that the pictured device does with a built in switch.
|
|
|
|
|
Logged
|
Where's Waldo
|
|
|
|
parasven
|
 |
« Reply #41 on: August 29, 2009, 03:12:14 PM » |
|
|
|
|
|
« Last Edit: August 29, 2009, 03:25:18 PM by parasven »
|
Logged
|
|
|
|
|
ak4d7
|
 |
« Reply #42 on: November 06, 2009, 11:26:41 PM » |
|
thanks,  this thread should be pinned.
|
|
|
|
|
Logged
|
|
|
|
|
parasven
|
 |
« Reply #43 on: November 07, 2009, 05:08:57 AM » |
|
oh i see u found the thread ^^ so u managed to programm ur 2148?
|
|
|
|
|
Logged
|
|
|
|
|
ak4d7
|
 |
« Reply #44 on: November 07, 2009, 06:09:03 PM » |
|
|
|
|
|
« Last Edit: November 18, 2009, 04:29:20 PM by ak4d7 »
|
Logged
|
|
|
|
|
NotMe
|
 |
« Reply #45 on: November 20, 2009, 06:53:50 PM » |
|
I presume you have it then, but I'll reply anyway. As to the fast reply... coincidence I'd say. You see how this (above recommended) adapter which is made for this purpose has a switch (basically just a level shifter with extra points on it for the switch) http://www.sparkfun.com/commerce/product_info.php?products_id=714From the user manual at keil: LOW level on pin P0.14 immediately after reset is considered as an external hardware request to start the ISP command handler. More details on ISP and Serial Boot Loader can be found in "Flash Memory System and Programming" chapter on page 291. By that diagram (which was what I used to go from the datasheet pinout to the ones I put above), 0.14 corresponds to Ext1-15. Pulling down in this case should mean grounding that pin before hitting the reset button or before powering the board up (in either case it is recommended to make all connections before powering the LPC.) So, I just want to be sure I understand correctly. If I am using a board like the PGM-00714 as linked, then I would connect BSEL to 0.14 thus allowing me to use the PGM-00714 board's switch to select Program or Run mode for the DEV-00676 LPC-H2148 header board? Is that correct? And RST from the PGM-00714 is optional? Thanks.
|
|
|
|
« Last Edit: November 20, 2009, 06:57:45 PM by NotMe »
|
Logged
|
|
|
|
|
cory1492
|
 |
« Reply #46 on: November 20, 2009, 08:08:25 PM » |
|
Looking at the schematic for the sparkfun adapter, basically the BSL point is a switched ground through a pull down resistor and the other is set to a small circuit so you can reset the board from software on the PC. Putting the DPDT switch in programming mode puts BSL to the ground pulldown, and connects RST to the serial port via a small circuit.
So yeah, BSL to 0.14 should work fine so long as you are managing power fully yourself (or already have a reset switch on the LPC board.) Both are actually optional (all you really need is a shifter like max3232 or something along those lines to shift serial voltage), so long as you know that pin has to be pulled down on reset/power on reset to get into serial programming bootloader.
|
|
|
|
|
Logged
|
|
|
|
|
NotMe
|
 |
« Reply #47 on: November 21, 2009, 02:11:28 PM » |
|
cory1492, I thought I had that right. Thank you for the confirmation. Sometimes its nice to get a second pair of eyes when you aren't so sure of yourself. Glad to report I have mine fully up and running, the selector works fine and the thing has been fully programmed. I've successfully read and flashed NAND images. Thanks again.
|
|
|
|
|
Logged
|
|
|
|
|
DragonSlayer
|
 |
« Reply #48 on: December 17, 2009, 05:25:42 PM » |
|
cory1492 is correct, any 3.3v rs232 can work, you only need to do one extra step to get into programming mode that the pictured device does with a built in switch.
How do i do that with my MAX3232(MB3232I) (i use for the liteon drives) i have V+, GND, RX, TX and CT & RT
|
|
|
|
« Last Edit: December 22, 2009, 06:55:38 PM by DragonSlayer »
|
Logged
|
|
|
|
|
DragonSlayer
|
 |
« Reply #49 on: December 23, 2009, 05:20:14 AM » |
|
cant get flashmagic to show other than "autobaud" message"
|
|
|
|
|
Logged
|
|
|
|
|
|
|
DragonSlayer
|
 |
« Reply #51 on: December 23, 2009, 05:47:00 AM » |
|
i used that  in Flash Magic i get this message i have tried to switch RX & TX the above page gave this hint: •Using wrong COM port * Nope the right one, same as i use in JungleFlasher (it takes about 3 sec before the message using this one other COM show message instant) •Serial cable is faulty or not connected to PC and RS232 transceiver on your hardware * it works fine with Jungleflasher •You are using a USB to RS232 cable which doesn't work properly * nope its an built-in COM port •A USB driver is causing problems •There is a bad solder joint on your hardware stopping the autobaud character from arriving at UART0 RXD •The ISP bootloader failed to start * The LPC-H2148 gives red light, and the reset button funktion when running the demo firmware (mouse square rotation) •The microcontroller cannot execute code because of no running oscillator, insufficient power supply, glitches on the power supply, etc. * i get 3.3V at the V+ point •The baud rate you are using is too high or too low * i have tried all baud rates from 2400 to 14400 •You are using a P89V51Rx2 or P89LV51Rx2 and the autobaud character is not being sent in time * Don't think so
|
|
|
|
|
Logged
|
|
|
|
|
d4m4n
|
 |
« Reply #52 on: December 23, 2009, 06:29:01 AM » |
|
I also bought LPC2148. No luck getting it to work. I build the PIC model and it works just fine. The LPC2148 was a waste of money.
|
|
|
|
|
Logged
|
|
|
|
|
cory1492
|
 |
« Reply #53 on: December 23, 2009, 12:05:26 PM » |
|
i used that  in Flash Magic i get this message ... Try and track down the older software LPC2000, someone posted a link in the forum a while back as well.
|
|
|
|
|
Logged
|
|
|
|
|
glaze83
|
 |
« Reply #54 on: December 23, 2009, 12:55:09 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
drogy
Newbie

Posts: 1
|
 |
« Reply #57 on: December 26, 2009, 04:14:17 PM » |
|
hey guys! i've been at this for the whole day and no luck. so here's what i'm using: Olimex LPC H2148 RS232 Shifter Flash Magic (latest)
ok, so after a few problems and switching rx-tx i finaly got flash magic to get a device id. now i am able to erase the flash but when i try to write it i get "Operation Failed. (programming - failed to send data to the device)". only two banks remain unerased in the blank test and the mouse demo doesn't work anymore. i tryed removing the bridge (gnd to 0.14) but still nothing.. only the red led comes on and windows doesn't recognise the device (wich i guess is normal as i've erased it). also, after removing the bridge, i'm still able to read and erase the flash. is there any way to check if i trashed the board or something? any ideeas? i'm almost ready to give up un flush the 50$ i've paid for this crap...
|
|
|
|
|
Logged
|
|
|
|
ooi song nian
Newbie

Posts: 1
|
 |
« Reply #58 on: December 29, 2009, 03:09:57 AM » |
|
Sorry, I am new in this field and I have no background at all, I just want to ask, to programme the LPC2138/LPC2148, what i need is a LPC Serial Port Boot Loader Interface and Flash Magic? i'm a student who is doing research, i have financial limitation, so, just want to confirm again before i buy the things. so, first i write my programme in Flash magic, then connect the pc with the LPC Serial Port Boot Loader Interface, then connect the port with my microcontroller, that's it, right??Flash magic only works in Linux is it?? thanks for all your reply. tq.
|
|
|
|
|
Logged
|
|
|
|
|
Xb0xGuru
|
 |
« Reply #59 on: December 29, 2009, 11:41:43 AM » |
|
Check my post (2 up from here). All you need is a JTAG Wiggler Clone, a copy of H-JTAG (free) and the converted bin file (linked in my tutorial). You don't need to solder anything to the USB header or put it into ISP mode. It'll take you about 5 mins to flash using my tutorial.
|
|
|
|
|
Logged
|
|
|
|
|