Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:36 29 Nov 2024 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 18

     Page 1 of 3    
Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 07:46pm 09 Apr 2014
Copy link to clipboard 
Print this post

Hi,

it seems that a STRG+C within the first seconds erase the program (BETA 18, 44Pin with OPTION AUTORUN ON, OPTION LINES 35)???

My µMite is powered over a PL2303

Now I will test this behavior with another program on another µMite...

EDIT: I tested now with WhiteWizzards modules and I can't produce the effect.

EDIT2: Now I can't reproduce this behavior with my PL2303 µMite - what's going on?

I erased two times my program with CTRL+C at startup...

FrankEdited by Frank N. Furter 2014-04-11
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3196
Posted: 07:52pm 09 Apr 2014
Copy link to clipboard 
Print this post

What is STRG+C? Do you mean Control-C?

This is very strange behaviour indeed. It could be that the console Tx and Rx were accidentally shorted during power on - that would reset MMBasic and erase the program.

Geoff
Geoff Graham - http://geoffg.net
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 08:06pm 09 Apr 2014
Copy link to clipboard 
Print this post

Hi Geoff,

yes! I mean the Control-C (labeld with Strg on my keyboard).
But at the moment I can't reproduce the erasing!

I lost 2x my program...

Frank
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 08:20pm 09 Apr 2014
Copy link to clipboard 
Print this post

After my last reconnecting the PL2303 to my PC I getted a blue screen...

I tried the same procedure many times but I can't reproduce the problem again...

A physical connection of Rx and Tx is impossible (...and I don't lost my OPTION LINES 35) after this strange behavior - only my program was lost!

I will try again...

Frank
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 08:39pm 09 Apr 2014
Copy link to clipboard 
Print this post

Ok,

I flashed my PIC new, transfered my program, setted the options and started again with the same procedure as above BUT I DON'T LOST MY PROGRAM!
I hope it was a unique misbehavior of my MicroMite...

Sorry Geoff for the confusion...

Frank
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 926
Posted: 08:44pm 09 Apr 2014
Copy link to clipboard 
Print this post

I had a similar problem on earlier betas when I had the console RX and Tx reversed. Entered a Ctrl-C to break a running program and ended up clearing the program. Maybe a similar issue?
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 09:04pm 09 Apr 2014
Copy link to clipboard 
Print this post

My Rx and Tx connection is fixed but I had problems with my PC today (2 blue screens because Teraterm and/or PL2303 driver).

Is it maybe possible that the Prolific drives the input high as output (because of mailfunction)? This would this behaviour explain...

Frank
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 09:11pm 09 Apr 2014
Copy link to clipboard 
Print this post

Been watching with interest about developments

What hardware are you working on ?

Release date ?

Andrew
Andrew Rich VK4TEC
www.tech-software.net
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6102
Posted: 09:20pm 09 Apr 2014
Copy link to clipboard 
Print this post

Frank,
I don't have a lot of confidence in the Prolific chips. There were a lot of clones about and the efforts to create drivers that worked with the genuine chips and not the clones seems to have caused problems.

Andrew,
The micromite will be released in the May issue of Silicon Chip.
Think of a 28 pin Picaxe running MMBasic.

Jim
VK7JH
MMedit   MMBasic Help
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 09:38pm 09 Apr 2014
Copy link to clipboard 
Print this post

What is a pic axe. ?

Andrew
Andrew Rich VK4TEC
www.tech-software.net
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 10:09pm 09 Apr 2014
Copy link to clipboard 
Print this post

Frank,

Along with TassyJim (and many others), I too don't have much confidence with the Prolific chips (previous posts have debated this but as I mentioned at the time - this kind of inconsistency is exactly why I steer clear of them!).

If you experience this again with the FTDI usb-to-uart such as used on my 44-pin MicroMite Module, then please do let us know the steps taken and I will recreate here to investigate!

Thanks . . .

For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6102
Posted: 10:26pm 09 Apr 2014
Copy link to clipboard 
Print this post

  vk4tec said   What is a pic axe. ?

Andrew


http://www.picaxe.com/


VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 10:38pm 09 Apr 2014
Copy link to clipboard 
Print this post

The GENUINE Prolific 2302 seems to go fine, if you can find one, but as mentioned - there are so many 2302 clones out there now, and the drivers for the clones tend to be exceptionally flaky.

I argued this morning for about two hours with a cheap 2303 on a pager programmer cradle. This was embedded into the programmer itself - all there was, was the USB socket on the device.

I cracked it open, found the TXD and RXD, cut and isolated them, moved them to a socket on the case. Connect this to a 232 level corrector, hook to PC and it works like a charm WITHOUT any drivers needed, cos I am now using the native COM1 serial port.

I tell you - the 2302 clones can cause you so much trouble, I whole heartedly encourage you to find another brand of converter such as FDTI based UNLESS you can guarantee that you are using a genuine Prolific adaptor.


Smoke makes things work. When the smoke gets out, it stops!
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 12:24am 10 Apr 2014
Copy link to clipboard 
Print this post

A few more small corrections for the manual.

Page 5 describes 44 pin chips but doesn't mention which 2 pins you lose access to if you use a USB enabled PIC32MX250.
  Quote  Similar to the 28 pin package there are versions rated at 40MHz and versions that support USB (with
the latter you loose access to two I/O pins which are reserved for USB functions).


Page 17, Measuring temperature heading, remove underlined words.
  Quote  Multiple sensors can be used but a separate
I/O pin and pullup resistor is required is required for each one.


Page 18, Micromite pin 2 not labelled on drawing.

Page 25, change pin "9" to 25
  Quote  In your BASIC program you would set the input as a digital input and use the PIN() function to get its level.
For example:
SETPIN 23, DIN
IF PIN(23) = 1 THEN PRINT “High”

The SETPIN command configures pin 9 as a digital input and the PIN() function will return the value of that
pin (the number 1 if the pin is high).


I've only got to page 30, might find a few more.

Greg
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 12:29am 10 Apr 2014
Copy link to clipboard 
Print this post

Hi Folks,

it should be a PL2303HXA (inside a cable) from Adafruit. I know that somebody hate the Prolific chips but i hadn't problem with this adapter... up to now...

Normaly I prefer the FTDI chips too (but colleagues in my last job had great problems with a unusual configuration where the chip doesn't do what in the datasheet was - but I didn't exactly which problem was)

The only "real" problem I know with the Prolific chips is with Win8 but I have Win7...

Frank
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 01:05am 10 Apr 2014
Copy link to clipboard 
Print this post

  Frank N. Furter said   After my last reconnecting the PL2303 to my PC I getted a blue screen...
Frank


this is a common problem, caused by certain atmospheric conditions. fortunately, the solution is simple. take a blowtorch and, with the flame adjusted to a medium blue, heat up the prolific PL2303 chip until it starts to glow red (remember - blue flame, red chip). this will drive off excess smoke that has accumulated within the prolific chip. keep the heat on until no more smoke is produced.

your prolific chip has now been reset to it's factory default settings and will not cause you or anyone else any more problems. remember: blue flame, red chip, keep heat on until no more smoke.

with a little practice, this procedure can be applied to multiple PL2303 chips at the same time. it is considered best, by most sensible people, to treat all your PL2303 chips in this way immediately upon their arrival.


rob :-)
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 01:11am 10 Apr 2014
Copy link to clipboard 
Print this post


I have a slight modification to Rob's method above as follows:

Keep the blue flame going even when chip glowing red, then keep it going until the chip goes up in smoke!
Then replace it with an FTDI chip

This will solve all your problems . . . .


For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 01:25am 10 Apr 2014
Copy link to clipboard 
Print this post

...I think we should build a heatcontrol with a µMite for a controlled burning off...

Frank
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 01:27am 10 Apr 2014
Copy link to clipboard 
Print this post

  Frank N. Furter said   ...I think we should build a heatcontrol with a µMite for a controlled burning off...

Frank



(just ensure you use a FTDI to debug it or it will never work)


For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 02:12am 10 Apr 2014
Copy link to clipboard 
Print this post

Found another small typo on Page 61

  Quote  Example
I2C is ideally suited for communications between integrate circuits.


Should probably read "I2C is ideally suited for communications between integrated circuits."

Greg
 
     Page 1 of 3    
Print this page
© JAQ Software 2024