Atom Pro IDE ver 8.0.1.3 BETA link and BUG LIST

Please use this link to get the new Atom Pro IDE ver 8.0.1.3 BETA

basicmicro.com/downloads/sof … p_8013.exe

Post any possible problems here. Current known bugs are:

Pins 6 and 7 are 3.3vdc, not 5vdc… <- not a bug.

DTMFOUT <- does not work. Will be fixed with 8.0.1.4 release.

SERIN flow control <- waiting for confirmation that there is a problem

soft serin + timeout don’t work on 8.0.1.3
OK on 8.0.1.2

In order for me to get Nathan on it, I need specifics. At minimum I need a piece of code. Not the full code but a simplified code that just illustrates the problem.

It may be corrected already (not realeased yet), but we need to test it. Thanks!

data var byte

label

serin p10, i19200, 500, timeout, [data]
sound p9, [50\2250] ’ Beep ! one byte…
timeout

goto label

send many bytes on p10
never beep on 8.0.1.3, OK on 8.0.1.2 :S

Pascal

Ok, There are two problems. One is yours and one is mine. serial timeouts are supposed to be in .5us increments now(as of 8.0.1.3) so that part is your problem. Change 500 to 1,000,000 to have a 500ms timeout.

However there is a problem with the serin timeout in 8.0.1.3. It is currently calculating using 1us increments. Iv’e fixed this in my code and it will be fixed in the next release(8.0.1.4) but to get around it you must actually use 500,000 instead of 1,000,000 to get a 500ms timeout in 8.0.1.3.

Please change you serin line to:

serin p10,i19200,500000,timeout,[data]

Note that the PACE argument and serout timeouts are correctly calculated at .5us increments in 8.0.1.3.

Thanks, I upgrade beta to 8.0.1.3 tomorrow, I make somes test and post results.

Pascal

All work good :slight_smile: Thanks.

I have one question :

My robot use wireless server with real UART 100% compatible PC serial port.

This serial port is compatible with flow control (all test OK, I can “sleep” the FIFO)

It’s possible to use SOFT SERIN + flowcontrol of the AtomPro to “sleep” my external FIFO to give up HSERIAL ?

Thanks,
Pascal

If you only need to use the flowcontrol pin to “sleep” the uart you could just set the pin for flow control manually to disable/enable the uart and still use hserial. I don’t see any reason why you couldn’t use software serial with flowcontrol with the uart though.

I use hserial only to read bytes one per one of the AtomPro FIFO.

How to use soft serin + flow control to read one byte of my external UART ? if possible…

Pascal

I think Nathan was saying use a spare I/O pin on the Atom as a flow control pin. Manually setting it (high or low whatever is required) when you want to stop the PC from sending data, the resetting the pin when ready to receive more data.

Is 8.0.1.4 out yet? if not, when will it be available?

Thanks.

Nathan tells me 8.0.1.4 will be done end of Jan, beginning of Feb 08. Lets make sure we have everything tested that needs fixing so it wll be worth the wait. 8)

I have already make this test last month (8.0.0.0 or 8.0.1.0), dont work : too slow, lost many bytes from fifo @ 19200…

Thanks

hserial should not lose bytes unless you receive more bytes than the buffer can hold before reading them ou tof the buffer(AtomPro has a 127 bytes recieve buffer when using hserial). You will have to be more speicifc on exactly what you did.

I successful (lynxmotion.net/phpbb/viewtopic.php?t=3111) use HSERIAL but I must synchronise all baud rate on hserin/serin Else I have bytes corrupt on soft serial I/O (normal interrupt problem)
-> I set 19200 on hserial and 19200/9600 on all soft serial, all work very good.
-> hserial hardware interrupt affect (slightly) PULSIN result. I use PULSIN for devantech CMPS03, I wait the good I2CIN with clock streching support:(

But for more power (115200 or more) I ASK if possible to use SOFT serin + external FIFO + flow control to replace my hserin to read data.

[code]loop
unfreeze external FIFO (low DSR pin on RS232)
read one or all byte of the FIFO, store inside var byte or var byte(xxx)
freeze external FIRO (high DSR pin on RS232)

some blocking command (robot autonomous and user action, timer survey, PID etc)

goto loop[/code]

PHP Web server / telnet (TCP Client) <-> WiFi <-> TCP to RS232 server with FIFO <-> RS232 to TTL with full RS232 pins <-> Atom Pro <-> many slave serial devices (SSC-32, MOTM, RLY08 etc…)

Low and High pin function is too slow for this, I need assembly power inside the serin function (-> flow control pin ?).

Pascal

The Atom Pro IDE does not have the appropriate digital signatures for Vista, so everytime you start it you get that … message about it

Kurt

probably reads something like
STOP YOU ARE ABOUT TO COMMIT A MORTAL SIN AGAINST GOD AND YOUR MOTHER!!!
:unamused:

OLD :

Drag .bas file to IDE and “File”, “Save” = crash and lost data

Pascal

The problem is the BETA compiler EnableHservo command changed. There is nolonger any arguments to it. Just have an ENABLEHSERVO at the bigning of your code. No argumetns. Becuase the compiler is BETA the manual hasn’t been updated with this change. So the compiler is parsing Enable Hservo but then it seems a bunchy of unknown arguments and hence complains. Just remove them and you should be fine.

ALso none of the optional variables are required(eg HSEWRVO_GROUP). They are only used to disable hservo capability on some pins which will reduce the overhead some(eg a couple tenths of a percent).