Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:20 24 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 : Maximite Test ver 2.5C - with serial, I/O

     Page 4 of 7    
Author Message
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 11:15am 03 Sep 2011
Copy link to clipboard 
Print this post

well it look`s like we have coverd every thing from "A-to-Z" but there must be a floor in some of the chipsets ...maybe ..dunno ive been able to run every update that geoff and your spec prog`s for my inverter.. which is running atm was windy today the main buss has plenty of go juice....

:::had another thought what if some chips have a storage problem that ...they can only hold so much code in Kb`s dont know maybe also an addressing problem and there for runs out of room ...pasing thought,,,....Edited by sparkey 2011-09-04
technicians do it with least resistance
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 01:46pm 03 Sep 2011
Copy link to clipboard 
Print this post

I think that I know what the "not connecting over USB" issue is.

I changed the timing for polling the USB while it is enumerating (connecting) and set it to 100uS which is the Microchip recommended speed. This worked fine in my test setup so I thought that Microchip had got it right.

Ver 2.4B used 30uS and that worked for everyone so I have set it back to 30uS in version 2.4E which you can download from:
http://geoffg.net/Downloads/Maximite/Maximite_Update_V2.5E.z ip

Give it a run and please let me know if it fixed the issue.

However, Ver 2.4E also has a much bigger change and I need some help in testing it. Some may remember a problem a few months ago where the video output was tearing horizontally (also called noise). This has been getting worse as more features have been added to the firmware and the band aid fix that I was using was failing.

Now, with access to some good test equipment, I have been finally able get a permanent fix. The solution involved switching the DMA/SPI peripherals to 32 bit mode so that they could access the video memory much faster without stalling. As a side bonus I was able to remove my band aid fix and MMBasic runs about 30% faster, the difference is quite noticeable.

The downside is that the VGA timings have changed slightly. That is not a problem for me as I have a series of geewiz monitors that will adjust to anything but I need someone to test it on some older monitors, even CRT monitors if possible.

So, if you have an old monitor could you please give this version a test and let me know the results. Thanks.

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

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 04:45pm 03 Sep 2011
Copy link to clipboard 
Print this post

Hi Geoff,

Regarding the SPI implementation, it is my understanding from reading the PDF included with 2.5D that this is a bit-bashed solution and that any available I/O line on the back connector can be used for MISO, MOSI and SCK, and that the !SSEL line isn't implemented because it's optional in "normal mode".

Can you please confirm these details, I'm about to commit a serial board design to the PCB manufacturer and need to be sure I'll get back something that works!

Cheers,

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 06:36pm 03 Sep 2011
Copy link to clipboard 
Print this post

Maximite BASIC Version 2.5E
Copyright 2011 Geoff Graham
? mm.ver
2.0505
> regards sparkey

this is on comm 6 and using xp service pack 2 "hyper term" 9600 baud....

::: on a altronics origanal kit...

::: cannot run on a crt as i dont have the rca video out connected sorry about that ......

:: just connected the rca video i only have one crt tv and its a pretty cheap 14 inch prolly about 6-8 years old i would say but i cannot turn of the blue mute but i can out put this to a monitor Lcd via a vga "switch" which i will do shortly and see if by processing the signal through this makes a difference...

ok so no go on the "centrex 14 inch ....i`ll update shortly....


:: seems it does not like the vga converter on the origanal "altron" board seems that the video is still buggy ..i will reverse back to 2.5 d "or earlier " too see
if this makes a difference...sparkey...will update shortly.....

Maximite BASIC Version 2.5C
Copyright 2011 Geoff Graham

> ? mm.ver
2.0503
> regards sparkey......

:Maximite BASIC Version 2.5D
Copyright 2011 Geoff Graham
`
Error: Unknown comman 2.5D
> ? mm.ver
2.0504
>regards sparkey

still having trouble with the rca video out but always seem to be able to
hyperterm into tit ..more up dates comming...Edited by sparkey 2011-09-05
technicians do it with least resistance
 
VK6MRG

Guru

Joined: 08/06/2011
Location: Australia
Posts: 347
Posted: 08:57pm 03 Sep 2011
Copy link to clipboard 
Print this post

Thanks Geoff,
All working as it should!
Don't use a CRT type tv so i've never tested it with any version.
But thanks for the fix with the HyperTerminal issue.
Its easier to ask forgiveness than to seek permission!

............VK6MRG.............VK3MGR............
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 09:15pm 03 Sep 2011
Copy link to clipboard 
Print this post

still having trouble with the rca video regards sparkey although vga is fine on all so far even connecting to hyper terminal



technicians do it with least resistance
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:21pm 03 Sep 2011
Copy link to clipboard 
Print this post

Hi All

I have an old Philips VGA monitor and all is well
I had to manually adjust the picture to the right.
If i press the auto button the picture to far left but thats no biggie

I shall endevour to test the composite video today

Regards

Jman
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 09:21pm 03 Sep 2011
Copy link to clipboard 
Print this post

sorry i will go back and check 2.5 e i for got to jumper the video jumper as i thoght there should have been one i will try with that connected sorry but you can see my hyper term entrys...regards sparkey...

i will also try the rca video later and reply
regards sparkey.....Edited by sparkey 2011-09-05
technicians do it with least resistance
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 10:18pm 03 Sep 2011
Copy link to clipboard 
Print this post

ahhh yes i have the compisite rca video running fine on 2.5e geoff regards sparkey.....on a 14 inch centrex television....
technicians do it with least resistance
 
n8mdl
Newbie

Joined: 11/08/2011
Location: United States
Posts: 11
Posted: 10:43pm 03 Sep 2011
Copy link to clipboard 
Print this post

Hello Geoff.

2.5e also fixed a condition I was experiencing with 2.5d where the MM would not boot with power supply connection only - USB connected it would boot right up.

VGA is clean and it does appear to be running quite a bit quicker.

 
thetinkerer

Regular Member

Joined: 16/06/2011
Location: Australia
Posts: 68
Posted: 10:49pm 03 Sep 2011
Copy link to clipboard 
Print this post

HI Geoff,
I still have the same issue with Maximite BASIC Version 2.5E
I went back to Version 2.5B - all good
then back to Version 2.5E - no good

Interesting that VK6MRG has got his working under the new version.

thanks

Marc
(the tinkerer)
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 10:50pm 03 Sep 2011
Copy link to clipboard 
Print this post

2.5 d runs on t.v even with external power on .. and all my notes "refer" to " altronics kit first run"""....regards sparkey.....
technicians do it with least resistance
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 11:23pm 03 Sep 2011
Copy link to clipboard 
Print this post

  haiqu said  Regarding the SPI implementation, it is my understanding from reading the PDF included with 2.5D that this is a bit-bashed solution and that any available I/O line on the back connector can be used for MISO, MOSI and SCK, and that the !SSEL line isn't implemented because it's optional in "normal mode".

Yes on all points. You can use any i/o line for any signal and SSEL is generated outside of the SPI() function.

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

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 11:49pm 03 Sep 2011
Copy link to clipboard 
Print this post

Ah, lots of good feedback. Thanks.

  jman said  I had to manually adjust the picture to the right

That is the effect of the timing change, I thought that it would show up on older monitors. This is caused by the video starting about 1 uS before it should compared to standard VGA timing. Not a problem if it is within the monitor's manual adjustment range.

  thetinkerer said  I still have the same issue with Maximite BASIC Version 2.5E
I went back to Version 2.5B - all good
then back to Version 2.5E - no good

Interesting that VK6MRG has got his working under the new version.

I don't quite know what to do here. I cannot set the USB polling speed much faster than 30 uS and it should defiantly work at that speed. Could you please experiment and see if it is something at your end.

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

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 12:06am 04 Sep 2011
Copy link to clipboard 
Print this post

i had "B-D-E" ..all working thgh hy-term and on the composite to the t.v regards sparkey.....
technicians do it with least resistance
 
thetinkerer

Regular Member

Joined: 16/06/2011
Location: Australia
Posts: 68
Posted: 12:34am 04 Sep 2011
Copy link to clipboard 
Print this post

A bit more experimenting done on the USB issue.
I have plugged the Maximite(V2.5E) USB into another Windows XP machine that has never had the Maximite driver installed on it. I installed the Silicon chip driver on this machine and the Maximite is found, I get a com3 and can Terminal to it.

I have plugged the Maximite into the machine I always use(which has the problem) and still the same issue.- no com port appears when the USB is plugged in.
I have tried reinstalling the Silicon chip driver and still no change.
I have tried a number of USB ports on the PC and the same result - no go!

I have checked and both machines(the one that works and the one that doesn't work) have the same MSports.dll :
(5.1.2600.0 (xpclient.010817-1148))


Interesting issue.

thanks for all those participating in this issue.

regards

Marc






 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 12:40am 04 Sep 2011
Copy link to clipboard 
Print this post

Marc,

Do both machines have similar CPU and memory? The clue might be if one is faster than the other.

Also, I guess that they are running the same service pack.

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

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6096
Posted: 01:01am 04 Sep 2011
Copy link to clipboard 
Print this post

Version 2.5E
On an old VGA monitor (CRT that I used on a point-of-sale for many years),
the display shifted about 2 characters to the left - well within the visible display area and there was no need to change anything on the monitor.
Someone running a bit of overscan might have to adjust things a bit.

The speed improvement is very significant.
One routine that used to take 20ms now completes in under 15ms.

I haven't been able to create the USB driver issue.
Everything has always worked here on Windows7 and XP


Jim
VK7JH
MMedit   MMBasic Help
 
thetinkerer

Regular Member

Joined: 16/06/2011
Location: Australia
Posts: 68
Posted: 01:17am 04 Sep 2011
Copy link to clipboard 
Print this post

In regards to the USB issue.
------------------------------
The machine that the V2.5E USB works on is an oldish N10 Netbook 1.6ghz with 2GB ram.
The machine that the V2.5E USB DOESN'T work on is a Quad core 2.3ghz with 3.5gb ram.
I generally use the Maximite on a USB hub on the fast machine and I have tried plugging it directly into the machine as well - still no go.

I guess seeing I am the only one with this issue, it could probably be put on the back-burner as I am sure that you have other issues/developments to get on with. Mean while I and others can have a think about this one.

thanks

Marc


 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6096
Posted: 01:31am 04 Sep 2011
Copy link to clipboard 
Print this post

  thetinkerer said   In regards to the USB issue.
------------------------------
The machine that the V2.5E USB works on is an oldish N10 Netbook 1.6ghz with 2GB ram.
The machine that the V2.5E USB DOESN'T work on is a Quad core 2.3ghz with 3.5gb ram.
I generally use the Maximite on a USB hub on the fast machine and I have tried plugging it directly into the machine as well - still no go.

I guess seeing I am the only one with this issue, it could probably be put on the back-burner as I am sure that you have other issues/developments to get on with. Mean while I and others can have a think about this one.

thanks

Marc




Marc,
Can you get hold of an old USB1 hub to try? That might help to see if it's a speed/timing issue.

Jim

VK7JH
MMedit   MMBasic Help
 
     Page 4 of 7    
Print this page
© JAQ Software 2024