David Richards | 22 Jun 2011 22:13
Picon
Favicon

Re: BAE0911 update - 1wire bus and ae11_asm

Greetings Pascal,

Thanks for the new assembler, it now compiles bot examples without errors, the output binary look the same as your versions too. I have compiles ae_asm for both Ubuntu and OpenRD. The new BAE0911 firmware is working fine too. I'll have to get talking to an external device soon :-) I have some boards with SAA1064 7 segment lcd and PCF8574 and PCF8576 I/O iic devices on them I could try. From what you said before about the iic and spi sharing one bus I may be better to find some SPI devices to try, I'd better read the manual.

I have put the 911 back onto my Ubuntu server together with the DS9490R usb bus master device. Using commands similar to your own to start owserver, owfs, owhttpd all together I find a sure way to crash owserver is to try and view the directory /BAE0911/911 in a web browser, if I try and get a directory listing of the same folder it does not crash owserver completely but afterwards the directory listing in owhttpd are all messed up with items in the wrong locations. It is possible to successfully write to /mnt/1wire/BAE0911/911/lcd/text before owserver has crashed however. I could try the debug options in owserver, ive never done this before however and I'll need to see how to do it and retrieve the results.

Best regards, David.

On 20.06.2011 22:02, Pascal Baerten wrote:
sdcard up to 2GB are supported by bae0911.

simple.asm is not a clean sample, just some various opcodes accumulted during testing compiler.
I've done a bit cleaning in the code and it now compile with current ae_asm. (I still have to test running this code with current firmware however)

please find an updated ae11_asm.tgz with some enhancements (changelog below).
and an updated version of firmware.

Some testing is still required, fell free to report your experience.
to avoid problems, the autostart feature of testing firmwares is disabled.

Regarding owfs-owserver stability, I recommands to start owfs deamon directly connected to the busmaster until we find time to diagnose and fix that.
here how I start my deamons:
/opt/owfs/bin/owserver --i2c=/dev/i2c-0:0 -p 40666
/opt/owfs/bin/owhttpd -s localhost:40666 -p 81
#/opt/owfs/bin/owfs -s localhost:40666 -s localhost:40667 -m /tmp/ow #(unstable)
/opt/owfs/bin/owfs --i2c=/dev/i2c-0:0 -m /tmp/ow

if your are able to reproduce a straight crash scenario, you may start the deamons with --debug option and post the output.

thanks

Pascal


Gmane