Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:23 07 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Micromite Beta 6

     Page 2 of 9    
Author Message
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 11:43pm 12 Feb 2014
Copy link to clipboard 
Print this post

  Geoff said  Is the problem copying PC ---> Micromite or PC <---- Micromite?


In my case, I selected xmodem receive on the uMite and <file> send on the pc.

I have tried a new uMite chip and every thing is fine. Maybe there was a hiccup in windows and may be it was a big coincidence in both our cases. Maybe we just let it go and wait and see if it crops up again. It might be a non-existent needle in a haystack.


David M.
 
JohnL
Senior Member

Joined: 10/01/2014
Location: Seychelles
Posts: 128
Posted: 11:56pm 12 Feb 2014
Copy link to clipboard 
Print this post

David,

Not suggesting anything, but any chance that you may have accidentally clicked on Receive instead of Send in Tera Term ? I have done it a few times in the beginning.

If I read carefully what atmega8 reported, I think it can be recreated by clicking Receive instead of Send in Tera Term.

I could also be wrong, if it is an issue it will surely come up somewhere else.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 12:29am 13 Feb 2014
Copy link to clipboard 
Print this post

  JohnL said  You may have confused Receive and Send.
...
Geoff, I recon that was the problem?

That sounds very much like it. OK, wait and see...

Geoff
Geoff Graham - http://geoffg.net
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 724
Posted: 12:47am 13 Feb 2014
Copy link to clipboard 
Print this post

I'll check it again tonight....

Started it on the mmite with F11.

May be it was to early in the morning?!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 02:14am 13 Feb 2014
Copy link to clipboard 
Print this post

  TZAdvantage said  Is there a reason why not all five internal OC peripherals can be used?

That sounds like a great idea and should be doable. Let me have a play and I will report back,

Geoff
Geoff Graham - http://geoffg.net
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 03:20am 13 Feb 2014
Copy link to clipboard 
Print this post

Just when I thought it couldn't get any better... Geoff, you have outdone yourself, again! Can't wait to get home and mess with this. I hope I'm not headed for a divorce. I will report back on the display and keyboard drivers as that is what I am currently playing with. Can't wait for the protoboards to start showing up.
THANKS GEOFF!!!!
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 07:16am 13 Feb 2014
Copy link to clipboard 
Print this post

Thx Geoff !
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 07:26am 13 Feb 2014
Copy link to clipboard 
Print this post

Hi All,

On the lcd driver, I am currently using the open collector outputs for the 6 wires going to the lcd with 10k pullups to 5volts. Is it still necessary to only use pins that are capable of open collector or can we use any digital i/o pins for this. Same applies to matrix keyboard, are any pull up or pull downs necessary?

Thanks Again.
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 11:42am 13 Feb 2014
Copy link to clipboard 
Print this post

Jim, according to the manual any pins can be used and no pull ups required.
How good is that.
Paul
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 12:03pm 13 Feb 2014
Copy link to clipboard 
Print this post

During testing I found that all the LCDs I could lay my hands on accepted TTL input levels (which is what the Micromite puts out). So you can use any I/O pins and pullups are not needed.

Same for the keypad. In this case the firmware enables internal pullups on the rows (r1 to r4) so again, no external resistors are required.

Geoff
Geoff Graham - http://geoffg.net
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 724
Posted: 12:33pm 13 Feb 2014
Copy link to clipboard 
Print this post

So sorry Geoff,

i'am the bug, mixed receive and send ;-((
Sorry XMODEN works perfect!!!!!

DS18B20 works, perfect, IR works perfect.
At weekend i will test several LCD Display's.



Dietmar


  Geoffg said  
  atmega8 said   XMODEM !

When trying to downloda via Xmodem, the transfer stucks.

After stopping , the content of the downloadfile was wiped out.

Tried it several times, same effect.

Used Treraterm with 38400.


That cannot be right, most of my testing was done using XModem to transfer files.

I will recheck but I am baffled.

Geoff
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 724
Posted: 01:42pm 13 Feb 2014
Copy link to clipboard 
Print this post

Interrupt Handling

Hello to all,

how will Interrupts be handled, if you use a function as the new DS18B20 read, that takes about 200ms to complete?
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 01:43pm 13 Feb 2014
Copy link to clipboard 
Print this post

  atmega8 said  i'am the bug, mixed receive and send ;-((


You are not the first!


Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 06:54pm 13 Feb 2014
Copy link to clipboard 
Print this post

  atmega8 said  how will Interrupts be handled, if you use a function as the new DS18B20 read, that takes about 200ms to complete?

The interrupts will only be checked after the 200mS (which means that you can loose some high speed interrupts).

GeoffEdited by Geoffg 2014-02-15
Geoff Graham - http://geoffg.net
 
SteveP
Newbie

Joined: 21/03/2013
Location: United States
Posts: 19
Posted: 06:58pm 13 Feb 2014
Copy link to clipboard 
Print this post

  Geoffg said  
  TZAdvantage said  Is there a reason why not all five internal OC peripherals can be used?

That sounds like a great idea and should be doable. Let me have a play and I will report back,

Geoff


If more PWM outputs are added, could they be made PWM with adjustable frequency and duty cycle like the two existing PWM pins rather than only servo outputs with fixed 20 msec period ? I would like to use them to generate multiple analog output voltages using an R/C filter.
ThanksEdited by SteveP 2014-02-15
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 07:10pm 13 Feb 2014
Copy link to clipboard 
Print this post

I have just finished updating the PWM/SERVO code (it will be in the next beta).

You will have a total of five PWM/SERVO outputs in two groups. Group one will have up to three outputs all at the same frequency but with different duty cycles. Group two will have two outputs with a different frequency to group one.

Sorry about the frequency restriction but there are only two timers that can be used for this purpose and that restricts us to just two different frequencies.

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 09:40pm 13 Feb 2014
Copy link to clipboard 
Print this post

So, you found an extra couple of bytes of memory to squeeze that extra functionality in then, eh Geoff? (rhetorical)
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 10:04pm 13 Feb 2014
Copy link to clipboard 
Print this post

It was amazing how much space the 1-wire search function took up. Eliminating that reduced the space occupied by the overall 1-wire protocol by 75%.

It is strange going back to counting bytes. It recalls the days of the 8080 and Z80. I suppose that I got to used to the larger PIC32's with their almost unlimited amount of flash.

I have also been working on the PIC32MZ and it is at the opposite end of the spectrum... 2MB of flash. Just enormous - the technology keeps rolling on...

Geoff
Geoff Graham - http://geoffg.net
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 10:18pm 13 Feb 2014
Copy link to clipboard 
Print this post

Hi Geoff,

Something I'm sure we would all be interested in knowing: what is your current 'guesstimate' as to when you reckon you will need PIC32MZ beta testers?

Loving Beta 6 by the way . . . .

Regards,

Phil
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 10:49pm 13 Feb 2014
Copy link to clipboard 
Print this post

  Geoffg said   It was amazing how much space the 1-wire search function took up. Eliminating that reduced the space occupied by the overall 1-wire protocol by 75%.


...WOW...
Well worth dumping the search then.

  Geoffg said  I have also been working on the PIC32MZ and it is at the opposite end of the spectrum... 2MB of flash. Just enormous - the technology keeps rolling on...

Geoff


Is this the chip you are planning to develop the next generation Maximite on?
I think it is - I will have to hunt through the threads - I seem to remember you posting a thread about Microchip releasing that chip....
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 9    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025