brain Posted March 1, 2023 Share Posted March 1, 2023 If folks can create a thread and do some of the legwork on design, I'll commit to add the code to the HEXTIr codebase (and then just compile it for just that peripheral and you can call it the ecc40). Things needed: I think I have the manual for the display... Yep: DISPLAY INTERFACE FUNCTIONAL SPECIFICATION. Done Someone to create the thread and start the discussion... Need a reasonable LCD panel that works with an arduino, at least for development. Needs to be at least 80*7 = 560 x 9*24 = 216, as the specified chars in the doc are 8x6 and you need a spacer pixel. I see some Arduino Mega 800x480 panels that are not that bad, and that's fine, but I wonder if an Arduino UNO panel is available. So, someone needs to research that and I'll buy one/three Get the char set defined. The spec doesn't seem to have the entire char set. I need the set in a C-readable set of array statements. Someone (s) to help wire up a few prototypes. Shuld be minimal, as it's just the resistors/caps/2x4 HEXBUS connector on an Arduino breadboard. A few folks to take those protos and test the nightlies. There's a *LOT* of ESC commands in the spec, and getting them all working will take some QA work. You find 'em, I will fix 'em Things wanted: a couple extra devs to help Folks to nag/encourage me to get this done. I'll probably modify the project to compile for the Mega Arduino, as that way, you can enable all the peripherals at once. But, first things first. 3 1 Quote Link to comment Share on other sites More sharing options...
+acadiel Posted March 1, 2023 Share Posted March 1, 2023 10 hours ago, brain said: If folks can create a thread and do some of the legwork on design, I'll commit to add the code to the HEXTIr codebase (and then just compile it for just that peripheral and you can call it the ecc40). Things needed: I think I have the manual for the display... Yep: DISPLAY INTERFACE FUNCTIONAL SPECIFICATION. Done Someone to create the thread and start the discussion... Need a reasonable LCD panel that works with an arduino, at least for development. Needs to be at least 80*7 = 560 x 9*24 = 216, as the specified chars in the doc are 8x6 and you need a spacer pixel. I see some Arduino Mega 800x480 panels that are not that bad, and that's fine, but I wonder if an Arduino UNO panel is available. So, someone needs to research that and I'll buy one/three Get the char set defined. The spec doesn't seem to have the entire char set. I need the set in a C-readable set of array statements. Someone (s) to help wire up a few prototypes. Shuld be minimal, as it's just the resistors/caps/2x4 HEXBUS connector on an Arduino breadboard. A few folks to take those protos and test the nightlies. There's a *LOT* of ESC commands in the spec, and getting them all working will take some QA work. You find 'em, I will fix 'em Things wanted: a couple extra devs to help Folks to nag/encourage me to get this done. I'll probably modify the project to compile for the Mega Arduino, as that way, you can enable all the peripherals at once. But, first things first. Since I have the Video Peripheral CPU dumped now too, we can likely find a TMS 7000 disassembler and see how it works (it's only 4K of code and a bunch of that is character definitions for the screen). From what I'm seeing, it's an input/output device that uses VT codes to display to a screen, and the Editor Assembler cart can directly use it to display on the screen. No reason why we can figure out that protocol (I don't know if there's documentation on it) and translate "TV" to "LCD" since I don't think you can really redefine characters. I would need to get it operational and see what the screen dimensions are. 2 Quote Link to comment Share on other sites More sharing options...
+FarmerPotato Posted March 1, 2023 Share Posted March 1, 2023 1 hour ago, acadiel said: Since I have the Video Peripheral CPU dumped now too, From what I'm seeing, it's an input/output device that uses VT codes to display to a screen, and the Editor Assembler cart can directly use it to display on the screen. Do you mean it uses VT100 or similar escape sequences? Quote Link to comment Share on other sites More sharing options...
brain Posted March 1, 2023 Share Posted March 1, 2023 1 hour ago, acadiel said: Since I have the Video Peripheral CPU dumped now too, we can likely find a TMS 7000 disassembler and see how it works (it's only 4K of code and a bunch of that is character definitions for the screen). From what I'm seeing, it's an input/output device that uses VT codes to display to a screen, and the Editor Assembler cart can directly use it to display on the screen. No reason why we can figure out that protocol (I don't know if there's documentation on it) and translate "TV" to "LCD" since I don't think you can really redefine characters. I would need to get it operational and see what the screen dimensions are. I'm not sure where I got this from, but I have the specs for the video display, it's attached, though I got it from some TI CC40 web/ftp site. I can't find the location now. That said, it's possible the actual Video Peripheral differs from the spec. Thus, it'd be good to reverse engineer the protocol to see how it matches the spec. The spec protocol looks "VT-ish", but I'm not a VT code expert, so I have no idea if the codes are similar/same I didn't mean to imply char redefinition. I just noted that the spec I received does not have all the char defs in it, but it might be in another doc, or maybe the ones that are in the spec imply they used the normal 99/4a char defs, etc. Display Interface Functional Specification.txt 2 Quote Link to comment Share on other sites More sharing options...
+acadiel Posted March 1, 2023 Share Posted March 1, 2023 8 hours ago, brain said: I'm not sure where I got this from, but I have the specs for the video display, it's attached, though I got it from some TI CC40 web/ftp site. I can't find the location now. That said, it's possible the actual Video Peripheral differs from the spec. Thus, it'd be good to reverse engineer the protocol to see how it matches the spec. The spec protocol looks "VT-ish", but I'm not a VT code expert, so I have no idea if the codes are similar/same I didn't mean to imply char redefinition. I just noted that the spec I received does not have all the char defs in it, but it might be in another doc, or maybe the ones that are in the spec imply they used the normal 99/4a char defs, etc. Display Interface Functional Specification.txt 75.49 kB · 3 downloads It should be close. From what one of the original designers said: "(By the way, the video controller is just a Hexbus VT-100 terminal that outputs video to a TV. You control it by using device #40 and OPEN, PRINT, and CLOSE statements in BASIC. Or the appropriate assembly commands. To move the cursor around, use chr$(27) plus VT100 escape codes. - Stephen Reid)" If that lines up with the spec, then we just need to grab character patterns from the ROM (if we want to be authentic) and try it out with the Editor Assembler and see if it works. 3 Quote Link to comment Share on other sites More sharing options...
+FarmerPotato Posted March 2, 2023 Share Posted March 2, 2023 3 hours ago, acadiel said: You control it by using device #40 and OPEN, PRINT, and CLOSE statements in BASIC. That suggests a simpler peripheral, where you build a device #40 on the HexBus with a AVR. Then the AVR forwards chars to its PC host where you observe what happens in a VT100 terminal window. Quote Link to comment Share on other sites More sharing options...
brain Posted March 2, 2023 Share Posted March 2, 2023 40 minutes ago, FarmerPotato said: That suggests a simpler peripheral, where you build a device #40 on the HexBus with a AVR. Then the AVR forwards chars to its PC host where you observe what happens in a VT100 terminal window. Yep, though if that's the goal, it's a better fit for Peter Engel's TIIF (http://pengels.bplaced.net/index.php/tiif). I'd send him a note (he might be on here, but nothing pops up imemdiately) and see if he can add that quickly to the cable. Jim Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 4, 2023 Share Posted March 4, 2023 On 2/26/2023 at 10:37 PM, brain said: It's possible there is a bug in the code. Can you connect the serial to your computer and get a dump of what is going to the printer? Jim Jim, sorry for the delay in sending the log file but too much work during the week. I opened the port with the following command: OPEN #1,"20.B=9600,D=8,S=1,P=N", OUTPUT then I sent two prints: PRINT #1,"QWERTYUIOP" PRINT #1,"TEST" and closed the Port CLOSE #1 Enclosed is the log file I captured on my MacBook CC40.txt 1 Quote Link to comment Share on other sites More sharing options...
brain Posted March 5, 2023 Share Posted March 5, 2023 Confirmed here. Not sure what the issue is yet, looking into it Quote Link to comment Share on other sites More sharing options...
brain Posted March 5, 2023 Share Posted March 5, 2023 Found it. The problem is in the power management (sleep) code. I didn't write that piece, so I am reaching out to the dev on it. For now, I am planning to turn that off if RS232 is enabled while I debug it, so folks can use RS232 without the issue. I *think* the sleep code needs to ensure there are no bytes to send before it sleeps. But, given that rs232 and sleeping seem at odds, it might make more sense to not sleep when the rs232 channel is open. Jim 1 Quote Link to comment Share on other sites More sharing options...
brain Posted March 5, 2023 Share Posted March 5, 2023 Try the code now in the repo. I disabled sleep for now, but I think I have a way to re-enable it but have it wait to sleep until data is finished sending. I won't commit my new code until someone tests the current commit. Jim 1 1 Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 5, 2023 Share Posted March 5, 2023 Hi, I just compiled the version in repo and now it works ok. Executed exactly the same test as before. Enclosed is the new log file Luis CC40.txt 2 Quote Link to comment Share on other sites More sharing options...
brain Posted March 5, 2023 Share Posted March 5, 2023 Thanks. I'll leave it there for a moment. I have power management *almost* working again, but still bugs to fix. Jim 1 Quote Link to comment Share on other sites More sharing options...
Appeelicious Posted March 6, 2023 Share Posted March 6, 2023 This is mostly over my heads but fantastic talk guys. I'm cheering you on and reading with interest anyway. Quote Link to comment Share on other sites More sharing options...
brain Posted March 7, 2023 Share Posted March 7, 2023 Dropped a "pwr_fixes" tagged source bundle in github. Would love feedback. Had to make quite a few changes to address power management concerns, while still sipping power when we can. Jim 1 1 Quote Link to comment Share on other sites More sharing options...
brain Posted March 8, 2023 Share Posted March 8, 2023 So, is there a thread created for the ecc40 🙂 Quote Link to comment Share on other sites More sharing options...
Appeelicious Posted March 8, 2023 Share Posted March 8, 2023 12 hours ago, brain said: So, is there a thread created for the ecc40 🙂 Thread created. I'll see if members are open to jumping in and if we can get some financial help with development so it's less expensive to our breadboard, silicone and components guys. Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 10, 2023 Share Posted March 10, 2023 On 3/7/2023 at 7:49 PM, brain said: Dropped a "pwr_fixes" tagged source bundle in github. Would love feedback. Had to make quite a few changes to address power management concerns, while still sipping power when we can. Jim Downloaded latest version from repo and I get an error during compilation. Compiled using Arduino IDE, just like I did before. Luis Quote Link to comment Share on other sites More sharing options...
brain Posted March 10, 2023 Share Posted March 10, 2023 Can you share the error? Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 10, 2023 Share Posted March 10, 2023 Output from compilation: Using board 'uno' from platform in folder: /Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6 Using core 'arduino' from platform in folder: /Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6 Detecting libraries used... /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/src.ino.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/catalog.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/catalog.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/clock.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/clock.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/crc7asm.S Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/debug.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/debug.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/diskio.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/diskio.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/drive.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/drive.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ds1307-3231.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ds1307-3231.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/eeprom.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ff.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ff.cpp Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexbus.c Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexops.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexops.cpp -o /dev/null /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/led.c -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/main.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/main.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/pcf8583.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/pcf8583.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/powermgmt.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/powermgmt.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/printer.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/printer.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/registry.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/registry.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/rtc.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/rtc.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/sdcard.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/sdcard.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/serial.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/serial.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/softi2c.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/softi2c.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/softrtc.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/softrtc.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/spi.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/spi.cpp -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/swuart.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/swuart.cpp -o /dev/null /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/timer.c -o /dev/null Using cached library dependencies for file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/uart.c /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/uart.cpp -o /dev/null Generating function prototypes... /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/src.ino.cpp -o /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/preproc/ctags_target_for_gcc_minus_e.cpp /Users/lvicente/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/preproc/ctags_target_for_gcc_minus_e.cpp Compiling sketch... Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/clock.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/catalog.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/clock.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/crc7asm.S.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/diskio.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/catalog.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/debug.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/debug.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ds1307-3231.c.o /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ds1307-3231.cpp -o /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ds1307-3231.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/drive.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/diskio.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ff.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/drive.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/ff.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexbus.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/eeprom.c.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexops.c.o /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/led.c -o /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/led.c.o /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexops.cpp -o /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/hexops.cpp.o Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/main.c.o /Users/lvicente/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/lvicente/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/main.cpp -o /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/main.cpp.o /Users/lvicente/Documents/My Digital Library/Texas Instruments TI-CC40/HEXTIr/src/ds1307-3231.cpp:133:12: error: 'rtc_type_t rtc_get_type()' aliased to undefined symbol 'dsrtc_get_type' rtc_type_t rtc_get_type(void) __attribute__ ((weak, alias("dsrtc_get_type"))); ^~~~~~~~~~~~ Using previously compiled file: /private/var/folders/8f/l0hhwpyd5_v0n97r3ffym8180000gn/T/arduino/sketches/8E95E1E7C3FC5012993D72D38411F4FB/sketch/pcf8583.c.o exit status 1 Compilation error: 'rtc_type_t rtc_get_type()' aliased to undefined symbol 'dsrtc_get_type' Quote Link to comment Share on other sites More sharing options...
brain Posted March 11, 2023 Share Posted March 11, 2023 Thanks. I think I fixed. Pull the tag again (or HEAD) and see if I fixed it for you. It was the weirdest include error I think I've seen so far. Oh well. Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 11, 2023 Share Posted March 11, 2023 I just compiled the version in repo and now it works ok. Executed exactly some tests as before. Now power management is active, doesn't it? Enclosed is the new log file Luis CC40.txt Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 12, 2023 Share Posted March 12, 2023 (edited) On 3/1/2023 at 2:35 AM, brain said: If folks can create a thread and do some of the legwork on design, I'll commit to add the code to the HEXTIr codebase (and then just compile it for just that peripheral and you can call it the ecc40). Things needed: I think I have the manual for the display... Yep: DISPLAY INTERFACE FUNCTIONAL SPECIFICATION. Done Someone to create the thread and start the discussion... Need a reasonable LCD panel that works with an arduino, at least for development. Needs to be at least 80*7 = 560 x 9*24 = 216, as the specified chars in the doc are 8x6 and you need a spacer pixel. I see some Arduino Mega 800x480 panels that are not that bad, and that's fine, but I wonder if an Arduino UNO panel is available. So, someone needs to research that and I'll buy one/three Get the char set defined. The spec doesn't seem to have the entire char set. I need the set in a C-readable set of array statements. Someone (s) to help wire up a few prototypes. Shuld be minimal, as it's just the resistors/caps/2x4 HEXBUS connector on an Arduino breadboard. A few folks to take those protos and test the nightlies. There's a *LOT* of ESC commands in the spec, and getting them all working will take some QA work. You find 'em, I will fix 'em Things wanted: a couple extra devs to help Folks to nag/encourage me to get this done. I'll probably modify the project to compile for the Mega Arduino, as that way, you can enable all the peripherals at once. But, first things first. What about using a Wemos D1 R2 board. It's 8266 based, has more memory, has wifi so a file server could be made to access the files on card and has the same form factor of Arduino Uno R3. Just an idea to elaborate on. Luis Edited March 12, 2023 by lmgvice Quote Link to comment Share on other sites More sharing options...
brain Posted March 12, 2023 Share Posted March 12, 2023 I tried some 8266s here, but prefer the esp32. Is there an Uno-compatible esp32 board? Jim Quote Link to comment Share on other sites More sharing options...
lmgvice Posted March 13, 2023 Share Posted March 13, 2023 (edited) I've used this board because I found a site with a table comparison of both boards. This is the link: https://arduino.stackexchange.com/questions/49119/arduino-uno-r3-to-wemos-d1-r2-project-migration-pinout-problems I've used the information found on this link in a project of mine and everything worked ok. However this might not be the case in this project. I will investigate if there's an esp32 form factor board uno compatible. Luis Edited March 13, 2023 by lmgvice Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.