Hello!! I want to put some asm code inside the main.c file!! Like: for(j = 0; j < 13; j++){ MOV A, #LOW display RLC A INC A } ... If it isn't possible... I...
... Check your C compiler documentation. it should tell you how to do this. ... There is no assembly instruction RLC @R0. RLC operates only on the accumulator....
Hello, I want to use the PWM to dim a LED. This led is connected with a 470 Ohm resistor to 5VDC. The controller is running on 3VDC. I want to set the output...
Mark, not 100% sure but I would think your assumption is correct that a pin that is associated with a function (UART, PWM) becomes push/pull. The open drain is...
Dear all, I want to use Timer0 of LPC938. So I try simulation by uVision3. When I selected [option] - [Device]tag "LPC938", I want it to move at about 100us...
Hi, the timers are identical on both microcontrollers. There is a chance that you slected 12 MHz external clock for one micro and the internal RC oscillator...
Should work fine with open drain outputs. Make shure you set the output to the logical high state to enable it! ... 470 ... set ... bit). ... pull ... pin...
Dear Robert, Thanks you for your answer. ... Either microcomputer is the same setting that it is selected internal RC oscillator(7.373MHz). It is only a...
Hello, I am writing a bootloader for the P89LPC922. I use IAP lite to write to the program memory and this works fine. I want to reprogram UCFG1 (RPE) before...
Hello Mark, Before writing the UCFG1 register you have to give the CCP Clear Configuration Protection command (see example below). shift_out(WR_FMCON);...
Hi Mark, I agree with Pauls comments and feel that you have protected the configuration values with the config protection bits in the BOOTSTAT register. These...
The user's manuals suggest the pwm pulse width uses the timer clock. This implies p-clock or external clock is used to determine the pulse width and pwm...
Rod, I'am trying to compile the LPC935-PROG on windows using Mingw but the popt.h file wasn't with Mingw. Was that file part of your linux distro? I tried...
John, You are going to need popt for mingw I know when I did this I went to a lot of trouble to get this working. I ended up downloading popt and then making...
Hello people. I've written an ICP programmer for use with our philips-based products, for use in our mass-production environment. I've based it on both the ISP...
Thank you John, Can you e-mail me a diff off-line or to this list and I will update source forge CVS with the changes. Let me know if you get it working as I...
Hi All, Does ICP (Serially Clocked) have supperior features over ISP (UART)? Obviously if you use ISP you need a stable clock source. If you program the flash...
I put the files in a temp directory in the Files section of the group. I'll try the program out next week and let you know if I get it working. ... went to ......
I've checked in the ICP PDF, and I've figured it's the configuration byte at 0x03 ("Status Byte"). I'm already programming it to 0x00. Either that's not the...
Hi Oren, Are the config bytes written correctly? If you read them back, do they have the correct value? They are NOT included in the CRC, and you'll have to ...
Hello Eric, Sending the CCP seem to solve it. Thank you. ... they have ... have to ... a device ... That is ... configuration ... the ... (and ... it ... ...
Hi There, My project is building a simple router with MCB900, So the 8-bit data is input from RS232, then it has to route [output to correct port] it to some...
Rod, I haven't been able to program anything yet. Can you give me an example of the command line arguments used to program or put the device in ISP mode? Also,...
John, I have never used this under windows except when I was doing some early testing for a friend of mine. I use the following commands to erase the necessary...
Gertjan, Hitesh, I have also had problems using ICP when following the appl.note AN10258_2. Like you, Hitesh, I found out that the application board VDD...
All, I am using the ISP to ICP bridge based on MCB900 from Keil to program a PCB-soldered LPC936 (TSSOP). It is possible to read the device ID, to program user...
Hi, once I have had similar problems. See at http://www.esacademy.com/software/flashmagic/forum/read.php?f=1&i=2564&t=2561 Now, I am happy. Regards, Johnny...