Activity for Bernard Mentink

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Hi Travis, many thanks for all of the above. I had already stripped down the adc@ word, that is what I am using now and it takes 5us. It is satisfactory up to 3000rpm on my motor application, but I would like to do better. And yes, the tasks are getting in the way ... I will see what I can do with running some tasks on the 2nd core. I just realized that because I am multiplexing some adc channels (4 adc's is just not enough ... :( ...) So I can't easily do fifo or dma ... (I am using 7 adc's, 3 adc's...

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Hi Travis, many thanks for all of the above. I had already stripped down the adc@ word, that is what I am using now and it takes 5us. It is satisfactory up to 3000rpm on my motor application, but I would like to do better. And yes, the tasks are getting in the way ... I will see what I can do with running some tasks on the 2nd core. I just realized that because I am multiplexing some adc channels (4 adc's is just not enough ... :( ...) So I can't easily do fifo or dma ... (I am using 7 adc's ) PS:...

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    Hi Travis, many thanks for all of the above. I had already stripped down the adc@ word, that is what I am using now and it takes 5us. It is satisfactory up to 3000rpm on my motor application, but I would like to do better. And yes, the tasks are getting in the way ... I will see what I can do with running some tasks on the 2nd core. I just realized that because I am multiplexing some adc channels (4 adc's is just not enough ... :( ...) So I can't easily do fifo or dma ... (I am using 7 adc's )

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    Hi, I am trying to get faster ADC on the rp2040, as I need to read 3 channels fast in a 20khz pwm on-time. The current ADC reading example in the playground takes 10us to read one channel. (as a comparison, zeptoforth takes 5us) Has anyone any code to use dma or fifo etc to get better performance? Thanks

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Great, thanks. That worked. Maybe some instructions in the header of float.fs would be useful

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Great, thanks. That worked. Maybe some instructions in the header of float.fs would be useful? By the way can you give some examples of how to use the float words? In particular an example of fsin fcos etc. I am not sure how to input a floating point number to these functions. I have compiled float.fs .. Thanks

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Ahh, I see you have to set FLOATS=1 in p24fj_ga_config.inc (for nano) however I get the following compile error: Info: Project is using a large data memory model when small data memory model is sufficient. make[2]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' make[1]: Leaving directory '/Users/bernardmentink/My_Work/Arduino/flashforth/pic24/FF_24-30-33.X' ../src/ff-pic24-30-33.s:7163: undefined reference to `___addsf3' build/default/production/_ext/1360937237/ff-pic24-30-33.o(.text+0x2318):../src/ff-pic24-30-33.s:7163:...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Tried to compile float.fs for the pic24, but fails due to missing f- and f+, are these somewhere else, and should it then be noted in the header as a dependancy?

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I can confirm flashforth works perfectly on the nano, many thanks for the fast port :) On Wed, Nov 22, 2023 at 10:49 PM Mikael Nordman oh2aun@users.sourceforge.net wrote: Now the 64GU205 works on the nano. Some updates to the flash write routines and the eeprom emulation were required. The eeprom emulation was changed to use 2 flash blocks instead 4. That gives some more free flash for applications. All the device config files for chips that use eeprom emulation have changed and must be used with...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Many thanks, will try it out. On Wed, 22 Nov 2023, 10:49 pm Mikael Nordman, oh2aun@users.sourceforge.net wrote: Now the 64GU205 works on the nano. Some updates to the flash write routines and the eeprom emulation were required. The eeprom emulation was changed to use 2 flash blocks instead 4. That gives some more free flash for applications. All the device config files for chips that use eeprom emulation have changed and must be used with this latest version of FF. Serial comms with Scamp3 .. funny...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Brilliant, that would be great. I am struggling with debugging it .. On Mon, Nov 20, 2023 at 9:41 PM Mikael Nordman oh2aun@users.sourceforge.net wrote: I ordered the 24fj64gu EV10K72A board to find out how to get it working with FF. I also ordered a dspic33 dual core board. At least the master core should be easy to get working. Serial comms with Scamp3 .. funny character after "ok" prompt https://sourceforge.net/p/flashforth/discussion/726813/thread/4be8601bb3/?limit=25#35c5 Sent from sourceforge.net...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Have you tried building with XC16 v2.10 ? I notice you have v1.50, maybe there are differences? Also my mplab-x is v6.15, yours was v6.00 .. that is less important I guess.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Have you tried building with XC16 v2.10 ? I notice you have v1.50, maybe there is differences? Also my mplab-x is v6.15, yours was v6.00 .. that is less important I guess.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Have you tried building with XC16 v2.10 ? I notice you have v1.50, maybe there is differences?

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hi Mikael, tried both of those, no difference I am afraid.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Just a minor point, in the following should the flash size be 0xaf00 ? .ifdef __24FJ64GU205 .equ FLASH_SIZE, 0xa800 .equ RAM_SIZE, 0x2000 .include "p24fj_ga_config.inc" .endif The manual has 0xaf00 as the end of flash. Should that change, or are you reserving some for Forth. I also notice this device has no eeprom, does that matter?

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Just a minor point, in the following should the flash size be 0xaf00 ? .ifdef __24FJ64GU205 .equ FLASH_SIZE, 0xa800 .equ RAM_SIZE, 0x2000 .include "p24fj_ga_config.inc" .endif The manual has 0xaf00 as the end of flash. I notice this device has no eeprom, does that matter?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    No inputting numbers does not work. I have done the "List to file" option for the assembler. No difference. See console operation: ok<#,ram> ok<#,ram> ok<#,ram> words ok<#,ram> ok<#,ram> ok<#,ram> 23 . ok<#,ram> 23 ok<#,ram> . ok<#,ram> ok<#,ram>

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    No inputting numbers does not work. I have done the "List to file" optionfor the assembler. No difference. See console operation: ok<#,ram> ok<#,ram> ok<#,ram> words ok<#,ram> ok<#,ram> ok<#,ram> 23 . ok<#,ram> 23 ok<#,ram> . ok<#,ram> ok<#,ram>

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    BTW, Is the following correct for FJ devices? ;;; Different flash write logic for E devices than HJ or FJ devices ;;; Double word instead of single word write. .equ PIC2433E, 1 That's in p24fj_ga_config.inc

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ok, I got MPLAB X going on the MACOS M1, it seems it is dual architecture .. shame the info on the Microchip website is so misleading :) So I compiled the code and programmed the Curiosity Nano board, then connected to the other USB port and obtained the Forth prompt. However, typing anything like words or doing any other action, just does nothing, just returns the prompt. Is there anything else I need to do to get this board working? I have added screenshot of project Dashboard, let me know if you...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Thanks .. working see below :)

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Ok, I got MPLAB X going on the MACOS M1, it seems it is dual architecture .. shame the info on the Microchip website is so misleading :) So I compiled the code and programmed the Curiosity Nano board, then connected to the other USB port and obtained the Forth prompt. However, typing anything like words or doing any other action, just does nothing, just returns the prompt. Is there anything else I need to do to get this board working? I have added screenshot of project Dashboard

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Ok, I got MPLAB X going on the MACOS M1, it seems it is dual archetecture .. So I compiled the code and programmed the Curiosity Nano board, then connected to the other USB port and obtained the Forth prompt. However, typing anything like words or doing any other action, just does nothing, just returns the prompt. Is there anything else I need to do to get this board working? I have added screenshot of project Dashboard

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    The Microchip web site says x86 only macos, does not support arm64, so how did you install it? From their website: MPLAB X IDE only supports computers with processors designed with Intel® 64 or AMD® 64-bit architectures.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    The Microchip web site says x86 only macos, does not support arm64, so how did you install it? MPLAB X IDE only supports computers with processors designed with Intel® 64 or AMD® 64-bit architectures.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    The Microchip web site says x86 only macos, does not support arm64, so how did you install it?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Thanks for uploading the code changes. I will see if I can do something with a virtual machine on MACOS .. seems I can only install arm64 windows on macos virtual machine. So I am stumped, as there is no arm64 install of MPLABX

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Thanks for uploading the code changes. I will see if I can do something with a virtual machine on MACOS ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    When I say Linux, I mean linux server ... headless. MPLAB won't run on arm64 M1 on macos only x86 :(

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hmm, seems the latest version of MPLAB-X will not run correctly on WIN7 ... and that is the only platform I have to build on. My other machines are MacOS M1 and linux ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Thanks, will give it a try, just received the hardware ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    @Jose Morales Did you manage to get this to work?

  • Bernard Mentink Bernard Mentink posted a comment on discussion PicKitPlus Chip Database

    You can get a scamp3 from here: https://udamonic.com/getting-started.html Also to have a play with the PIC24FJ64GU205, you can get a EV10K72A board in quite a few places, quite cheap.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Many Thanks, that helps. I can upload fine, but had to add 1ms delay per word, did not have to do that with atmega328. I guess your build supports the PIC24FJ64GB202 as well? Another quick question, do you support the PIC24FJ64GU205 used in the EV10K72A curiosity board? I have just purchased one ... or do I have to tweak the source code a bit and rebuild for that one?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi, I have just bought a scamp3 from Udamonic in order to play with pic24. However I can't seem to get any code sent to it with ff-shell.tcl , I get funny characters in the terminal window .. see screenshot. Are the line endings not right for the scamp3? i.e CR,LF I don't get the same effect with linux "screen" Also is there any Linux/Macos code to flash these things (without purchasing pickit 5, I have a pickit2) Thanks.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi, I have just bought a scamp3 from Udamonic in order to play with pic24. However I can't seem to get any code sent to it with ff-shell.tcl , I get funny characters in the terminal window .. see screenshot. Are the line endings not right for the scamp3? i.e CR,LF I get the same effect with linux "screen" Also is there any Linux/Macos code to flash these things (without purchasing pickit 5, I have a pickit2) Thanks.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hi, I have just bought a scamp3 from Udamonic in order to play with pic24. However I can't seem to get any code sent to it with ff-shell.tcl , I get funny characters in the terminal window .. see screenshot. Are the line endings not right for the scamp3? i.e CR,LF Also is there any Linux/Macos code to flash these things (without purchasing pickit 5, I have a pickit2) Thanks.

  • Bernard Mentink Bernard Mentink posted a comment on discussion PicKitPlus Chip Database

    Will there every be support for this part? At the moment my only option is to buy pickit4 or pickit5 ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Brilliant, will try it out EDIT: @oh2aun I can confirm the 'ff-send.tcl' script works on macos .. many thanks, that really helps.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Brilliant, will try it out

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    I had another go at getting ff-shell3.py going. It seems I had two versions off pip pn my mac, one from homebrew and one from macos. I installed pyserial again for macos, and now it picks up the port ok. No more missing "serial" module. However I know get the following error, any idea's? ./ff-shell3.py --port /dev/cu.usbmodem144401 port:/dev/cu.usbmodem144401 speed:38400 hw:False sw:False newlinedelay:0 chardelay:0 cc:False nl:True local variable 'e' referenced before assignment I presume it can't...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    I had another go at getting ff-shell3.py going. It seems I had two versions off pip pn my mac, one from homebrew and one from macos. I installed pyserial again for macos, and now it picks up the port ok. No more missing "serial" module. However I know get the following error, any idea's? ./ff-shell3.py --port /dev/cu.usbmodem144401 port:/dev/cu.usbmodem144401 speed:38400 hw:False sw:False newlinedelay:0 chardelay:0 cc:False nl:True local variable 'e' referenced before assignment I presume it can't...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I had another go at getting ff-shell3.py going. It seems I had two versions off pip pn my mac, one from homebrew and one from macos. I installed pyserial again for macos, and now it picks up the port ok. No more missing "serial" module. However I know get the following error, any idea's? ./ff-shell3.py --port /dev/cu.usbmodem144401 port:/dev/cu.usbmodem144401 speed:38400 hw:False sw:False newlinedelay:0 chardelay:0 cc:False nl:True local variable 'e' referenced before assignment

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi, Your ff-shell.tcl shell file works great, but the one feature it really needs, is a way to include Forth files from your main Forth source file. Something like the following at the beginning of your file: \ include somefile.fs \ include another.fs Forth would not see the lines, as as far as it is concered, they are comments. But the ff-shell.tcl script could parse them, and load them in the order they are listed. I have a current FF project that depends on 6 other forth modules, it's a real pain...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi, Your ff-shell.tcl shell file works great, but the one feature it really needs, is a way to include Forth files from your main Forth source file. Something like the following at the beginning of your file: \ include somefile.fs \ include another.fs Forth would not see the lines, as as far as it is concered, they are comments. But the ff-shell.tcl script could parse them, and load them in the order they are listed. I have a current FF project that depends on 6 other forth modules, it's a real pain...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hi, Your ff-shell.tcl shell file works great, but the one feature it really needs, is a way to include Forth files from your main Forth source file. Something like the following at the beginning of your file: \ include somefile.fs \ include another.fs Forth would not see the lines, as as far as it is concered, they are comments. But the ff-shell.tcl script could parse them, and load them in the order they are listed. I have a current FF project that depends on 6 other forth modules, it's a real pain...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Many thanks. I had already changed to an IF..THEN So latest changes in github I presume. EDIT found it :)

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Many thanks. I had already changed to an IF..THEN So latest changes in github I presume.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I am having trouble with doing a 'mod' instruction in an interrupt routine. It crashes FF without a reset cause being printed to the terminal. The code looks like this: : my_int 1 esc.seq.step +! \ increment step by 1, next of the seq of 6 esc.seq.step @ 6 mod esc.seq.step ! \ modular 6 division ;i Any reason why this should not work? The inetrrupt is the comparator int. Do you have to disable comp interrupt on entry to the routine?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Does PPP networking reserve the USB serial interface and prevent using it for a serial terminal ? Is there a need to disable PPP networking ? Not sure how to disable PPP on Macos What details does the USB device tree show for FF ? It should be visible under Hardware/USB. Like I said previously, nothing shows up at all ... How does the ESP32-S2 work ? Can a terminal be connected to it ? As far as I understand, works the same way using CDC .. Remember, the 32u4 board shows up just fine on Windows using...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Does PPP networking reserve the USB serial interface and prevent using it for a serial terminal ? Is there a need to disable PPP networking ? Not sure how to disable PPP on Macos What details does the USB device tree show for FF ? It should be visible under Hardware/USB. Like I said previously, nothing shows up at all ... How does the ESP32-S2 work ? Can a terminal be connected to it ? As far as I understand, works the same way using CDC .. Remember, the 328 board shows up just fine on Windows using...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Does PPP networking reserve the USB serial interface and prevent using it for a serial terminal ? Is there a need to disable PPP networking ? Not sure how to disable PPP on Macos What details does the USB device tree show for FF ? It should be visible under Hardware/USB. Like I said previously, nothing shows up at all ... How does the ESP32-S2 work ? Can a terminal be connected to it ? As far as I understand, works the same way using CDC .. Remember, the 328 board shows up just fine on Windows using...

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Does PPP networking reserve the USB serial interface and prevent using it for a serial terminal ? Is there a need to disable PPP networking ? Not sure how to disable PPP on Macos What details does the USB device tree show for FF ? It should be visible under Hardware/USB. Like I said previously, nothing shows up at all ... How does the ESP32-S2 work ? Can a terminal be connected to it ? As far as I understand, works the same way using CDC ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    @oh2aun Weird thing is, the board shows up as a PPP modem under Network, but nothing as a USB port. See screenshot ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Google for OSX USB serial drivers and how they work. As far as I can tell the CDC driver is included in macos, it is just not picking up the board. Googling shows people installing 3rd party or old drivers and running into issues, but I havn't done that. Send me a MAC Whish I could :)

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Google for OSX USB serial drivers and how they work. As far as I can tell the CDC driver is included in macos, it is just not picking up the board. Googling shows people installing 3rd party or pld drivers and running into issues, but I havn't done that. Send me a MAC Whish I could :)

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Any other suggestions to get this going?

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Nothing shows on /var/log/system or dmesg etc when plugging in ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I only had that problem with the Leonardo board. The UNO works fine.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi Fred: I just installed the tcl-tk package with homebrew .. Then run by the command: wish ff-shell.tcl Note: tcl version 8.5 would not work, but 8.6 does. I have both versions on my machine, I think the 8.5 came from macos .... just use the homebrew version

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi Fred: I just installed the tcl-tk package with homebrew .. Then run by the command: wish ff-shell.tcl Note: tcl version 8.5 would not work, but 8.6 does. I have both versions on my machine, I thing the 8.5 came from macos .... just use the homebrew version

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi Fred: I just installed the tcl-tk package with homebrew .. Then run by the command: wish ff-shell.tcl Note: tcl version 8.5 would not work, but 8.6 does.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Hi Fred: I just installed the tcl-tk package with homebrew .. Then run by the command: wish ff-shell.tcl

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hi Fred: I just installed the tcl-tk package with homebrew ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Windows see's it as FF50, but can't find drivers. Which drivers are requird? Maybe OSX needs additional drivers as well?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Yes I am using OSX. I will try using some different USB-A Adapters (I only have USB-C on this laptop) EDIT: Tried 3 adapters, none work ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Windows see's it as FF50, but can't find drivers.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Yes I am using OSX. I will try using some different USB-A Adapters (I only have USB-C on this laptop)

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I installed pyserial with pip, but still get this: import serial ModuleNotFoundError: No module named 'serial'

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    By the way, I used the ISCP header, with avrdude, to program the board, cause I presume you do not use the bootloader, the same as Arduino UNO? I assume the usbserial.fs code is allready in the .hex file? Or do I need to connect in serial mode then compile the usb stuff ..? It is not clear in the docs, and the file above makes reference to doing that.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    By the way, I used the ISCP header, with avrdude, to program the board, cause I presume you do not use the bootloader, the same as Arduino UNO? I assume the usbserial.fs code is allready in the .hex file? Or do I need to connect in serial mode then compile the usb stuff ..? It is not clear in the docs, and the file above makes reference to doing that.

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    By the way, I used the ISCP header, with avrdude, to program the board, cause I presume you do not use the bootloader, the same as Arduino UNO?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    By the way, I used the ISCP header to program the board, cause I presume you do not use the bootloader, the same as Arduino UNO?

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Update: I noted that the efuse should have been 0xf8 for that chip, instead of the 0xff that I had. I re-programmed, and now the serial port is available. However, there is little response when I try to connect with ff-shell.tcl. The "ok" does not occur, and when I type "words" I just get back a random character ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Fred: I use FF-shell.tcl fine in MacOS. Mikael: How did you add #help to FF-shell? Thanks.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    I flashed the file 32u4-16MHz-USB, which was sucessful. But no device shows when I plug in the USB connector of the board. Any ideas? Thanks

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Thanks Mikael, that was perfect, much faster .. Now all I need is a way to send all files in a folder/directory, and maybe skip comments .... :)

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Thanks Mikael, that was perfect, much faster .. Now all I need is a way to send all files in a folder/directory, and maybe skip comments .... :) On Thu, Oct 5, 2023 at 3:56 PM Mikael Nordman oh2aun@users.sourceforge.net wrote: I don't think the baudrate is the problem. The TCL shell waits for 100 ms for each line. You can fix it by editing the sendLine procedure. diff --git a/shell/ff-shell.tcl b/shell/ff-shell.tclindex 8937504..04ea7be 100755--- a/shell/ff-shell.tcl+++ b/shell/ff-shell.tcl@@ -365,11...

  • Bernard Mentink Bernard Mentink modified a comment on discussion Open Discussion

    Is there any chance of operating at higher baud rates? Or is it just not faster enough to interpret ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Is there any chance of operating at higher baud rates?

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Never mind, found it worked if I connect to /dev/cu.usbmodem144301, not sure what the difference is between the two versions of the same port.. Works really slow at loading code though even with 1ms delay.

  • Bernard Mentink Bernard Mentink posted a comment on discussion Open Discussion

    Hi, love the FlashForth, just what I needed for the Atmega328p. However, struggling to get code onto this device as the python ff-shell3.py will not work and the preferred ff-shell.tcl hangs when trying to connect to the port. (If I put in a non existant port, at least I can get into the tcl application, but soon as I try to enter a valid port, it hangs and I have to kill the process .. I tried with sudo, but it won't run at all. Should not need it, as my user can access the port with screen fine...

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    Thanks, yep shame Luke the author of the bootloader is not contactable.. Cheers On Wed, 6 Jul 2022, 9:18 am Matthias Koch, m-atthias@users.sourceforge.net wrote: Hi Bernard, you are conquering additional boards with Mecrisp-Ice, glad to read that! In questions on the bootloader of the TinyFPGA-BX I have no clue what happens there. Maybe the flash chips differ in details of handling protected pages? I think I cannot really help here; I only got some ready-made USB<->ttyACM logic included, up and running...

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    @m-atthias Hi Mathias, I have just completed a port of Mecrisp to the above board, works well ... These boards can be had for $16US each, just bought myself 6 .... geat ECP5 board with 25K lut's I bought a development carrier board that the i5 plugs into, which has an STM32 uP doing the USB->JTAG interface for programming with ecpdap .. That's fine, but I would like to port the bootloader from TinyFPGA-BX, so that I don't need the carrier board. I am having issues with the port. I have the bootloader...

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    Great Thanks.

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice (as per stellaris code) All that I need for my application is just the quit word running as a separate task. (..so I can control my Forth application which is running in abegin 0 until real-time sensitive loop ..) Due to the execution time, I don't think it would be good to run from the interrupt .. probably other reasons as well ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice (as per stellaris code) All that I need for my application is just the quit word running as a separate task. (..so I can control my Forth application which is running in abegin 0 until loop ..) Due to the execution time, I don't think it would be good to run from the interrupt .. probably other reasons as well ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice (as per stellaris code) All that I need for my application is just the quit word running as a separate task. (..so I can control my Froth application which is running in abegin 0 until loop ..) Due to the execution time, I don't think it would be good to run from the interrupt .. probably other reasons as well ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice (as per stellaris code) All that I need for my application is just the quit word running as a separate task. Due to the execution time, I don't think it would be good to run from the interrupt .. probably other reasons as well ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice All that I need for my application is just the quit word running as a separate task. Due to the execution time, I don't think it would be good to run from the interrupt .. probably other reasons as well ..

  • Bernard Mentink Bernard Mentink posted a comment on discussion General Discussion

    Quick question: What is involved in getting some measure of multitasking going on the ..ice All that I need for my application is just the quit word running as a separate task. Due to the execution time, I don't think it would be good to run from the interrupt ..

  • Bernard Mentink Bernard Mentink modified a comment on discussion General Discussion

    I repeated the exercise and now it works, go figure ... must of had a copy issue .. OR a head issue .. blame the COVID's, still getting over it ... :)

1 >
MongoDB Logo MongoDB