I'm not manually resetting, I'm using the DTR via a capacitor, so should be quite a short period between the application sending the reset and being able to write to the comport.
Rich
Search found 324 matches
- Fri Mar 21, 2025 12:58 pm
- Forum: General
- Topic: UMC Bootloader
- Replies: 18
- Views: 2421
- Wed Mar 19, 2025 9:08 am
- Forum: General
- Topic: UMC Bootloader
- Replies: 18
- Views: 2421
Re: UMC Bootloader
Is there a way to start-up the main code a little quicker? the bootloader seems to wait about 5 seconds before starting and I have this on a device which has an LCD and it displays garbage for for 5 seconds before clearing which just looks a bit nasty.
thanks in advance
Richard
thanks in advance
Richard
- Thu Feb 27, 2025 9:41 am
- Forum: General
- Topic: EEprom write cycles
- Replies: 3
- Views: 30
Re: EEprom write cycles
Thanks even with your "DS40002147H" datasheet reference I tried to search for it on microchip website but it come back as no document!
but I did eventually find the document.
Thanks again much appreciated.
Richard
but I did eventually find the document.
Thanks again much appreciated.
Richard
- Wed Feb 26, 2025 9:25 am
- Forum: General
- Topic: EEprom write cycles
- Replies: 3
- Views: 30
EEprom write cycles
Does anyone know how many write cycles can be made to the eeprom? I have tried to look it up without much success i seen to come up with a number from 1000 which is low for my application to 10000 to 100000 writes . I have a design which is finished and locked down so I can't add new hardware, I nee...
- Mon Feb 10, 2025 1:17 pm
- Forum: General
- Topic: UMC Bootloader
- Replies: 18
- Views: 2421
Re: UMC Bootloader
Thanks Jerry,
I think I have gotten around it, by reading the eeprom, testing for a known number"314159" and if it's not as expected then I store the known number and other defaults then re-load the defaults.
This seems to work.
Rich
I think I have gotten around it, by reading the eeprom, testing for a known number"314159" and if it's not as expected then I store the known number and other defaults then re-load the defaults.
This seems to work.
Rich
- Fri Feb 07, 2025 8:28 pm
- Forum: General
- Topic: UMC Bootloader
- Replies: 18
- Views: 2421
Re: UMC Bootloader
Just so we are on the same page, should this work ? EEPROM = (%00000000 As Byte,10000000 As LongWord,1 As LongWord,1 As LongWord ,1000 As LongWord,100 As LongWord,0 As LongWord,0 As Byte ,2100 As Word ,500 As Word ,40 As Byte) ...... EE.Read(0,globals(kgTriggerMode).value.byte0, globals(kgPeriod).va...
- Thu Feb 06, 2025 8:17 am
- Forum: General
- Topic: UMC Bootloader
- Replies: 18
- Views: 2421
Re: UMC Bootloader
Hi Jerry, a quick question i have been using this bootloader for a while and all is good and some time ago i though i'd try it on a pic18f47q43 which had a serial port on the correct pins, and all seemed fine, but I have recently tried it on a new product that i thought we may want to change the fir...
- Fri Dec 06, 2024 7:19 am
- Forum: Modules
- Topic: ISRTimer.bas problems
- Replies: 3
- Views: 278
Re: ISRTimer.bas problems
oops that was a copy and paste error i was just showing the interval. the flowcounts variable was being sent in the main code loop. Device = 18F47Q43 Clock = 64 Config FEXTOSC = OFF, // Oscillator not enabled RSTOSC = HFINTOSC_64MHZ,// HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1 CLKOUTEN = OFF // CL...
- Wed Dec 04, 2024 12:46 pm
- Forum: Modules
- Topic: ISRTimer.bas problems
- Replies: 3
- Views: 278
ISRTimer.bas problems
Sorry to ask again but i seem to be having an issue with the "ISRTimer.bas" module this is clearly my lack of understanding but i hardly ever use timers. Event OnTimer() TP1 = 1 If Mscounter >= 1000 Then Mscounter=0 TimePassedInMS=TimePassedInMS+1 flowcounts = counter counter=0 Else Mscounter=Mscoun...
- Tue Sep 03, 2024 6:18 am
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 574
Re: osc advice
Ok so an update. After putting my debug kit back on the microcontroller i was getting a warning about buffer overrun when the problem was occuring. Sub CheckForNewData() Dim inbyte As Byte If ISRRX.BufferOverrun Or ISRRX.Overrun Then MyDebug("{OverRun}"+CrLf) ISRRX.Reset EndIf While ISRRX.DataAvaila...
- Thu Aug 22, 2024 6:07 am
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 574
Re: osc advice
I was hoping I'd overlooked something, I'll try checking the registers you suggested. I'm used to noise, I make Pulsed laser power supplies, the problem is that i have made a new PCB and one of the changes was using the intosc on this chip as i was low on pins and I haven't used it much before. So I...
- Tue Aug 20, 2024 4:08 pm
- Forum: IDE
- Topic: osc advice
- Replies: 3
- Views: 574
osc advice
Hi on a similar theme to the device config issue. I have been having an issue with noise on a board that has a a pic18f47q43 in a socket its running with internal oscilator at 64MHz, i originally had the config as below. Config FEXTOSC = OFF, // Oscillator not enabled RSTOSC = HFINTOSC_64MHZ,// HFIN...
- Tue Jun 04, 2024 10:52 am
- Forum: Compiler
- Topic: Float byte format
- Replies: 2
- Views: 649
Re: Float byte format
Thanks Jerry, I am trying to decode this in the windows application as this is for diagnostics/debug so I wanted to minimize the amount of time the pic spends sending data. I have now found an application note from microchip but I am getting incorrect values in windows so I must have messed up my bi...
- Mon Jun 03, 2024 9:41 am
- Forum: Compiler
- Topic: Float byte format
- Replies: 2
- Views: 649
Float byte format
hi, I'm trying to send a float to a pc using the following Public Sub WriteFloat(pValue As Float) WriteByte(pValue.Bytes(0)) WriteByte(pValue.Bytes(1)) WriteByte(pValue.Bytes(2)) WriteByte(pValue.Bytes(3)) End Sub End Sub the data i get back on the pc doesn't seem in a standard Microsoft format but ...
- Tue Apr 23, 2024 6:35 am
- Forum: General
- Topic: slew rate control
- Replies: 3
- Views: 1641
Re: slew rate control
Sorry for the slow reply, Ok, this is a bit embarrassing. In my defence this was an old board design where I have just changed to a new processor, and a new fault had been introduced. I had 1k series resistors inline with the fpga as level shifters as the fpga has clamp diodes. but this value is rea...