OK did some more testing, If I type into the page0 area and [CHANGE] it saves it to the slave. I think the problem is the [upload] as I now assume when you upload a file, its contents will appear in the Page0 text area then pressing [Change] will store it to the slave.
Does anybody know how a file upload functions in owhttp. Does it import the files data into the text box then you can write it to the device with the [Change] button. ? Could it be a security setting in my browser thats stops the file Upload functioning Rob ---- Rob Conway <[email protected]> wrote: > I did a quick try this morning > > > Eeprom page 0 shows all F's so I did an [Upload] and then I hit [change] > The eeprom page0 still showed F's. I tried a few different ways in one case > just upload without change. You mention "SAVE CHANGE" is this the [change] > button once uploaded. I then deleted the F's then hit [change] page still > filled with F's. > > I will take another look tonight and upload your "sample.bin" file just in > case mine is corrupted. > > Questions: > 1) My BAE0910 is hanging off a hobbyboards hub. I assume this is OK. > 2) I assume once its uploaded that EEprom Page0 will show something else > other than F's. > > -----Original Message----- > From: Pascal Baerten [mailto:[email protected]] > Sent: Tuesday, March 09, 2010 11:45 PM > To: OWFS (One-wire file system) discussion and help > Subject: Re: [Owfs-developers] BAE0910 setup -Some questions > > > Hi, > > from owhttpd, select eeprom/page.0, upload the generated file and save > change. > You may need to erase the page if it already content some data. > > You may also copy your generated file rob.bin to eeprom/page.0 (via fuse > file system) from the shell or within the makefile. > > Pascal > > > > > > > > 2010/3/9 Rob Conway <[email protected]> > > > Pascal, > > I got flex and Bison installed OK on ubuntu hardy > > > Test file, "thought I would start simple and just set a user register" > > #include "bae0910.inc" // may contains a path > #eeprom 0, 0 // start_page, end_page > > #org $00 > begin: > NOP > init: > SET.B B_USERA,100 > > Output generated by ae_asm, I assume it compiled without errors and the > installation of packages is OK > > <mailto:r...@xxxxxx> r...@xxxxxx# ../ae_asm -o rob.bin ./reef1.asm > processing file ./reef1.asm - pass 1, > processing file ./reef1.asm - pass 2, > Code start at :0x0000 > Code end at :0x0004 > Size reserved :0x0200 > Symbol Table : > begin LABEL 0x0000 > init LABEL 0x0001 > ouptut to rob.bin > <mailto:r...@xxxxxx> r...@xxxxxx# > > > Now where within owhttp pages do I upload the generated AE bin file to the > slave. There are too many choices for the uninitiated. > > owhttp provides upload/browse for > command: > memory: > eeprom: > firmware > > > > rob > > > -----Original Message----- > From: Pascal Baerten [mailto:[email protected]] > Sent: Tuesday, March 09, 2010 6:37 AM > To: OWFS (One-wire file system) discussion and help > Subject: Re: [Owfs-developers] BAE0910 setup -Some questions > > > Hi Rob, > > my reply in text. > > > 2010/3/8 Rob Conway <[email protected]> > > > Hi Pascal > > I am not sure if I should use this forum for BAE0910 assistance however it > might be good for others setting up the device. > > I think It is not a problem, but if It's not related to OWFS, you may also > post in the brain4home forum > <http://www.brain4home.eu/index.php?option=com_agora&Itemid=2> . > > > > > I have two of the slaves connected to the futurlec 4 channel relay boards. > I did a quick mod on a couple of channels and simply replaced the relay with > a FET. Simple process, didn't have to cut any tracks just two simple > links. I have used the BAEo0910 4 outputs -Out, pwm1, pwm2 and PIO. I have > managed to switch each output and setup the PWM for a small fan by setting > the parameters through owhttp. So I have proven I can drive the 4 channels > and now have to setup the AE so I can prelaod some values on startup. > > Good... > > > > > Some questions > > 1) If I use the PWM as a pure output do you have any recommended PERIOD / > TMPxC settings, does it matter ?. I see setting dutyx to either 0 or > >period toggles the output on/off. > > This not really matter. But note that the state change when the internal > counters are crossing limits, so if set very slow (down to 2Hz) , you may > encounter up to 500ms delay when toggling state. > > > > > > > 2) I tried to install the ae engine on Ubuntu. It failed as I think it > needed some pre-requisites. I tried an apt-get for flex and bison as I > assumed I needed these however apt-get could not auto find these so I will > do some more homework on this and manually download them. Are these the > only two programs I required before I install ae_asm ? Is it version > specific for flex / bison ? > > > I installed AE in both ubuntu(9.04) and debian (lenny) with standard flex & > bison packages from distributions. > strange that you don't find the packages within the standard repository. > I simply did: > apt-get install flex > apt-get install bison > apt-get install build-essential > I think that not other package are required, but I will test this on as > fresh ubuntu 9.10 to confirm. > > > > > > > 3) Can you help on PIOC, If I use this as an output what does the PD > actually do ? > > When set as output, the pin follow PIO value regardless of PE & PD values. > 1: pin is held up (to vcc) and thus could drain current up to 20mA > (effectively 10mA due to the 470R resistor) > 0: pin is held down (to gnd) and thus could sink current up to 20mA (10mA). > > > > > > > ---------------------------------------------------------------------------- > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > -- > Pascal > www.brain4home.eu > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2729 - Release Date: 03/08/10 > 06:34:00 > > > > > > ---------------------------------------------------------------------------- > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > -- > Pascal > www.brain4home.eu > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2731 - Release Date: 03/09/10 > 06:33:00 > > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
