#avr Logs

Dec 02 2019

#avr Calendar

12:56 AM Posterdati: hi
01:01 AM Posterdati: please still have problem with newlib and stm32f407vgt: library code is wrong seems is not compiled for hard fpu and it causes Hard_Fault jump when executed (__init and/or memset)
01:01 AM Posterdati: please help, thanks
01:55 AM nohit: Posterdati: -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
01:56 AM Posterdati: nohit: yes, I added -mthumb-interwork
01:58 AM Posterdati: in the .lst file, __libc_init_array has got a correct assembly code, during debug, __libc_init_array has got different code!
01:58 AM Posterdati: could be a linker script issue?
01:59 AM nohit: i dont know
02:00 AM nohit: btw are you using libopencm or cubehal or any of them
02:01 AM nohit: but i need to start my own work now so cant help you debug this problem
02:07 AM Posterdati: cubehal
03:00 AM nohit: btw dont use -mthumb-interwork
03:01 AM nohit: "Generate code that supports calling between the ARM and Thumb instruction sets."
03:01 AM nohit: cortex-x's only have thumb2
05:36 AM rue_bed2: Posterdati,
05:36 AM rue_bed2: I can into this recently with the F103
05:36 AM rue_bed2: it was corrected, tho I cant remmeber how
05:36 AM rue_bed2: iirc I'm uisng gcc for linking
05:37 AM rue_bed2: and the flags were fixed up
05:37 AM rue_bed2: I can only offer you my makefile
05:37 AM rue_bed2: in 3 hours
05:53 AM Posterdati: anyway I solved the problem
05:53 AM Posterdati: thanks
05:54 AM nohit: what was the solution ?
05:55 AM nohit: Posterdati:
05:55 AM Posterdati: In my makefile i have something like: LIBGCC=${shell ${CC} -mcpu=${CPU} -mfpu=${FPU} -mfloat-abi=${FLOAT_ABI} -print-file-name=libgcc.a}
05:55 AM Posterdati: for gcc, c and m libs
05:55 AM Posterdati: originally was LIBGCC=${shell ${CC} -mfloat-abi=${FLOAT_ABI} -print-file-name=libgcc.a}
05:56 AM Posterdati: so libraries were wrong
05:56 AM Posterdati: the correct line is the first
05:56 AM Posterdati: which indeed selects the correct libraries
05:56 AM nohit: ok good
05:58 AM Posterdati: shall I use TIMODE for the spi connected to a CC1101?
06:04 AM nohit: no idea
06:31 AM Posterdati: ok
06:31 AM Posterdati: thanks
02:22 PM davor_ is now known as davor
03:41 PM HelloShitty: Hello
03:41 PM HelloShitty: Can one program a PIC uC with just an USB-to-TTL converter like CP2102 ?
04:03 PM polprog: HelloShitty: if theres any way, i would reckon PonyProg + some custom hardware to make it match what ponyprog expects
04:13 PM HelloShitty: polprog: that looks not so trivial
04:34 PM polprog: its not
04:34 PM polprog: ponyprog is ancient software, i never got it working
04:35 PM polprog: the website shows some schematics for oldschool serial port adapters - but whether ponyprog works with the new ones like cp2102 i have no idea
04:38 PM HelloShitty: yeah, I think it might be way easier to try to do it using an arduino
04:39 PM HelloShitty: I was watching a video of a guy doing just that? I just can't figure out what is the software he's using
04:39 PM HelloShitty: https://www.youtube.com/watch?v=kpQ2t9pA1HQ
04:42 PM polprog: meanwhile im trying to fit an SSD into the p3 laptop
04:43 PM polprog: DAMN YOU intel engineers
04:43 PM polprog: who design a 180GB SSD with a PCB thats takes the whole enclosure while SanDisk can do a 240GB unit that takes half length of the enclosure
04:44 PM polprog: i was sure i could take the case off the intel one and fit it inside the laptop
04:44 PM HelloShitty: Good engineering... lol
04:44 PM polprog: but the ide + sata adapter makes it stick out :(
04:44 PM polprog: im joking
04:44 PM polprog: sandisk is clearly cutting the BOM cost :v
04:47 PM polprog: the intel SSD has a familiar looking 4-pads-1-ground arrangement on the PCB
04:47 PM polprog: and there is a urat there of some sort
04:47 PM polprog: but idc
04:47 PM polprog: ill have to go buy a small and cheap SSD
04:48 PM polprog: ill look for a light, plastic enclosed unit
04:48 PM polprog: that should have a smaller PCB inside
04:48 PM polprog: Emil: ^
04:53 PM polprog: and i cant fit the intel one with the adapter in the 2.5" bay in the laptop
05:38 PM Steffann is now known as Steffanx
08:12 PM davor_ is now known as davor
09:11 PM nikomo_ is now known as nikomo
11:37 PM day__ is now known as day