Jump to content

repetto74

Members
  • Content Count

    240
  • Joined

  • Last visited

Community Reputation

62 Excellent

About repetto74

  • Rank
    Chopper Commander

Recent Profile Visitors

2,806 profile views
  1. Hi Robin, Any chance to order one of these babies? 🙂
  2. Hi, I am located in Europe so wondering if there is any chance to buy it here :-). Thanks for the link anyway.
  3. Hi, What is the status of this UnoCart project? Is the pcb still available assembled or in a kit?
  4. That did the trick 🙂 I have finally the package.hex built Packaging Bootloader and cart firmware: package.hex head -n -1 ../finalgrom.hex | cat - bootload.hex > package.hex head: illegal line count -- -1 bootload.elf : section size addr .data 12 8388864 .text 4136 28672 .bss 173 8388876 .comment 17 0 .note.gnu.avr.deviceinfo 64 0 .debug_aranges 296 0 .debug_info 8549 0 .debug_abbrev 3421 0 .debug_line 10417 0 .debug_frame 892 0 .debug_str 1757 0 .debug_loc 5864 0 .debug_ranges 456 0 Total 36054 Mac-mini-de-RICCARDO-4:boot riccardorepetto$ Thanks a lot for your help InfiniteTape much appreciated !
  5. Nope I tried to follow this the above installation guide but keep gettings errors.... 🤔 I cannot install the avr-libc. Mac-mini-de-RICCARDO-4:~ riccardorepetto$ brew tap osx-cross/avr Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae eslint jenkins librsvg node ==> Tapping osx-cross/avr Cloning into '/usr/local/Homebrew/Library/Taps/osx-cross/homebrew-avr'... remote: Enumerating objects: 36, done. remote: Counting objects: 100% (36/36), done. remote: Compressing objects: 100% (34/34), done. remote: Total 36 (delta 7), reused 12 (delta 0), pack-reused 0 Unpacking objects: 100% (36/36), done. Tapped 10 formulae (85 files, 134.4KB). Mac-mini-de-RICCARDO-4:~ riccardorepetto$ brew install avr-libc Error: No available formula with the name "avr-libc" ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps. Mac-mini-de-RICCARDO-4:~ riccardorepetto$ UPDATE: the command to run has changed, I need to run brew tap osx-cross/avr && brew install avr-gcc That installed the avr-gcc succesfully apparently. Will test the compile now 🙂
  6. I have found this installation guide http://maxembedded.com/2015/06/setting-up-avr-gcc-toolchain-on-linux-and-mac-os-x/ I will give it a try.
  7. Well... Homebrew install went well but this is the result when I try to install avr-gcc 😞. Could be the name of the avr package has changed? Mac-mini-de-RICCARDO-4:~ riccardorepetto$ brew install avr-gcc Error: No available formula with the name "avr-gcc" ==> Searching for a previously deleted formula (in the last month)... Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallow Error: No previously deleted formula found. ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps. Mac-mini-de-RICCARDO-4:~ riccardorepetto$
  8. Thanks InfiniteTape :-). Yes I do have a WIndows 10 running through bootcamp on the Mac so it should be ok. I will install this Homebrew package installer with this command : /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Then, brew install avr-gcc. Sounds good 🙂
  9. Now I tried step 2 with the compile of the microcontroller and bootloader code in avr/ Getting again an error message. I suppose that the bash_profile file needs to be updated also? Mac-mini-de-RICCARDO-4:ti riccardorepetto$ cd /Users/riccardorepetto/Desktop/finalgrom99 Mac-mini-de-RICCARDO-4:finalgrom99 riccardorepetto$ cd avr/ Mac-mini-de-RICCARDO-4:avr riccardorepetto$ make rm -f update.avr rm -f finalgrom.hex rm -f finalgrom.eep rm -f finalgrom.obj rm -f finalgrom.cof rm -f finalgrom.elf rm -f finalgrom.map rm -f finalgrom.obj rm -f finalgrom.a90 rm -f finalgrom.sym rm -f finalgrom.lnk rm -f finalgrom.lss rm -f finalgrom.o loader.o wire.o lib/pff.o lib/diskio.o jtag/ports.o jtag/lenval.o jtag/micro.o rm -f finalgrom.lst loader.lst wire.lst lib/pff.lst lib/diskio.lst jtag/ports.lst jtag/lenval.lst jtag/micro.lst rm -f finalgrom.s loader.s wire.s lib/pff.s lib/diskio.s jtag/ports.s jtag/lenval.s jtag/micro.s rm -f finalgrom.d loader.d wire.d lib/pff.d lib/diskio.d jtag/ports.d jtag/lenval.d jtag/micro.d rm -f .dep/* Compiling: finalgrom.c avr-gcc -c -mmcu=atmega328p -I. -g -D F_CPU=8000000L -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=finalgrom.lst -std=gnu99 -MD -MP -MF .dep/finalgrom.o.d finalgrom.c -o finalgrom.o make: avr-gcc: No such file or directory make: *** [finalgrom.o] Error 1 Mac-mini-de-RICCARDO-4:avr riccardorepetto$
  10. That did the trick apparently 🙂 Last login: Sun Nov 24 20:01:19 on ttys001 Mac-mini-de-RICCARDO-4:~ riccardorepetto$ cd /Users/riccardorepetto/Desktop/finalgrom99 Mac-mini-de-RICCARDO-4:finalgrom99 riccardorepetto$ cd ti/ Mac-mini-de-RICCARDO-4:ti riccardorepetto$ ./make.py > browser.a99 <2> 0218 - Warning: Possible branch/jump optimization Warning: Unreferenced constants: C_FF Mac-mini-de-RICCARDO-4:ti riccardorepetto$ Now I have the TI folder with help.bin and menu.bin files created. Hope this is what I should expect 🙂
  11. Here it is Mac-mini-de-RICCARDO-4:ti riccardorepetto$ ls -l /Users/riccardorepetto/Desktop/finalgrom99/xdt99 total 728 [email protected] 1 riccardorepetto staff 18092 8 jui 13:32 COPYING [email protected] 9 riccardorepetto staff 306 8 jui 14:31 doc [email protected] 7 riccardorepetto staff 238 8 jui 13:54 example [email protected] 6 riccardorepetto staff 204 8 jui 13:32 ide [email protected] 23 riccardorepetto staff 782 8 jui 13:55 lib [email protected] 1 riccardorepetto staff 87554 8 jui 14:31 xas99.py [email protected] 1 riccardorepetto staff 21608 8 jui 14:31 xbas99.py [email protected] 1 riccardorepetto staff 32619 8 jui 14:31 xda99.py [email protected] 1 riccardorepetto staff 41737 8 jui 14:31 xdg99.py [email protected] 1 riccardorepetto staff 45983 8 jui 14:31 xdm99.py [email protected] 1 riccardorepetto staff 64059 8 jui 14:31 xga99.py [email protected] 1 riccardorepetto staff 29341 8 jui 14:31 xhm99.py [email protected] 1 riccardorepetto staff 11687 8 jui 14:31 xvm99.py Mac-mini-de-RICCARDO-4:ti riccardorepetto$
  12. I went a step further but getting a different error when compiling.... Traceback (most recent call last): File "./make.py", line 11, in <module> if call(xas + ["menu.a99"], shell=False): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 172, in call return Popen(*popenargs, **kwargs).wait() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 13] Permission denied Here is below the batch profile file : # Setting PATH for Python 3.7 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" export PATH # Setting PATH for Python 2.7 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" export PATH export PATH="/Users/Desktop/finalgrom99/xdt99:${PATH}" maybe a syntax mistake on the added line ?
  13. Thanks mizapf. ls -a will list hidden files then I had to set the option to show hidden files on Mac OS High Sierra and I do have this file visible now :-). Ok I will try with the guide of InfiniteTape and cross my fingers 🙂
  14. Hi InfiniteTape, Ok the second part where I have to update the make.py Python executable is fine. I can use Pycharm installed on OSX and update the path to the lib folder of the xdt99 main folder. The first part I do not catch exactly how I am supposed to install the xdt99? I have downloaded a folder as per attached screenshot. Where can I find the ~/.bash_profile file in order to add the PATH to xdt99 folder? Sorry for asking my knowledge on unix command lines is somehow limited. Rick
  15. Thanks a lot for your explanation InfiniteTape this looks more clear to me now. I do have a mac so I tried to compile (I have installed Python 2.7.17 OSX) using the Terminal. I do get this error. Last login: Sun Nov 24 00:17:28 on ttys000 Mac-mini:~ $ cd /Users/rick/Desktop/finalgrom99-master Mac-mini:finalgrom99-master $ cd ti/ Mac-mini:ti $ ./make.py Traceback (most recent call last): File "./make.py", line 11, in <module> if call(xas + ["menu.a99"], shell=False): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 172, in call return Popen(*popenargs, **kwargs).wait() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Mac-mini:ti $
×
×
  • Create New...