Jump to content

Antichambre

Programmer
  • Posts

    1,291
  • Joined

  • Last visited

  • Days Won

    101

Everything posted by Antichambre

  1. If you plan to implement a light XML module for MIOS32, I'm very interested ;) Best regards Bruno
  2. In explorer, search if stdint.h is an existing file in the folder c:/studium/bachelor/gcc-toolchain/mios32_toolchain/lib/gcc/arm-none-eabi/4.7.4/include/ and check this folder too. Download it again http://www.midibox.org/mios32_toolchain/gcc-arm-none-eabi-4_7-2013q3-20130916-win32.zip and use 7-zip, it was working for me.
  3. Great! Time to release the iron and take the keyboard, have fun!
  4. You can use the SRIO interconnection tester. This just check the lines.
  5. Personally I don't see anything wrong, because of the wire I suppose it's an ebay copy version. Did you try to change the shift register(74HC595)?
  6. Yep picture are too much small difficult to see if the transistors are in the good way, are you sure they are BC547 and not BC557 or something else? Better picture maybe? ;) just this parts:
  7. Yes they are multiplexed using the two transistors T1 and T2 both connected to the same 595 shift register, 5 pins for leds columns, 2 pins for rows via the transistors. http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=sammichfm:sammichfm_cs_pcb_rev_1.pdf Could you post some pictures of the board?
  8. C, I suppose cause you talk about int. Right! int is a 16bit, use long for 32bit. By using the MIOS_LCD functions. You can use MIOS_LCD_PrintBCD1(1 digit number) to MIOS_LCD_PrintBCD5(5digits number). In your case you need 6 digits, 105206. You must decompose this number with division/modulo by 1000 for example(or, 10, 100, 10000, 100000), divided by 1000 will does 2 numbers of 3 digits where first is division, second is modulo N = 105206 => N1=105, N2=206 with N1=N/1000 N2=N-(N1*1000) or N2 = N%1000 Then use: MIOS_LCD_PrintBCD3(N1); MIOS_LCD_PrintBCD3(N2); Note: take care, cause void MIOS_LCD_PrintBCD3(unsigned char v), it's a char then max 256, so what I said above must be adjusted to your needs, it works for 105206 but not for 300504, but I'm sure you understand the method, maybe better to do it decade by decade(digit by digit) with BCD1 ;)
  9. Hi Reiner, It's in the app_lcd.inc file #ifndef USER_LCD_NUM_ENABLE_LINES #define USER_LCD_NUM_ENABLE_LINES 8 #endif #ifndef USER_LCD_LAT_E0 USER_LCD_LAT_E0 EQU LATD ; Pin D.7 #endif #ifndef USER_LCD_PIN_E0 USER_LCD_PIN_E0 EQU 7 #endif #ifndef USER_LCD_LAT_E1 USER_LCD_LAT_E1 EQU LATC ; Pin C.5 #endif #ifndef USER_LCD_PIN_E1 USER_LCD_PIN_E1 EQU 5 #endif #ifndef USER_LCD_LAT_E2 USER_LCD_LAT_E2 EQU LATC ; Pin C.4 #endif #ifndef USER_LCD_PIN_E2 USER_LCD_PIN_E2 EQU 4 #endif I suppose you have to change the number of LCD from 8 to 3 Then change PORT and PIN for the 3 first lines E0 to E2. I never tried it so I don't know, but I think the first one is selected at startup, so first lcd should work normally. In your app you have to use USER_LCD_Select to select another LCD. More information are in the README file Have a good day! Bruno
  10. Oh I miss that you used a HUB, I understand now sorry. In fact the OTG is switching to host and works fine... A Hub constantly polls its downstream ports until its connected host has enumerated the devices then the Hub stops polling and creates paths between the host and the devices. But if no host(upstream port) replies(not connected) the hub continues to poll the devices periodically, this should perturb the transaction between the Seq(in Host) and the controller, they all use the same lines. No I'm wrong it should work cause it's always the host which polls the devices, the Hub just monitors the voltages on the signal lines (D+ and D-) at each of its ports. The device has a pull up which brings the data lines high and this enables the hub to detect that a device is attached to it and its speed depending on the lines. Once the device is detected, the hub continues to provide power but doesn’t yet transmit USB traffic to the peripheral. Then should not perturb the lines. Really sorry cause I knew that, I already experienced it too but didn't read enough your first post. Lol Still really sorry cause I experienced the same situation but I can't give any good explanation. :/
  11. It was to complete the discussion about an Euro Core module, discussion which was started here. There's no mix, just a parenthesis. This is fully compatible with your Euro Modules and even made for. Have a good Sunday my friend.
  12. I did it... And it works. STM32F405RG (1MB flash), dipCoreF4 based. 2 MIDI IN, 2 MIDI OUT USB Device/Host(OTG FS) USB Host(OTG HS in FS mode) SD Card(Micro) SRIO (J8/9) J19 for AOUT J15A for serial LCD, 2 CS lines. J18 CAN J4 I2Cx2 J5 ADCx2 2 Leds User/Reset Button. USB/EURO Power, auto switching with Euro Prior. Power switch acts on both power source. 44mm depth 12HP Voilà! Best regards Bruno
  13. The infamous ADSR bug of the SID ! ;)
  14. A clearer log: The problem is the red line, seems it doesn't find the toolchain or something with ".ld" extension from the toolchain, but PATH and GCC_PREFIX are set properly. I tried to compile @Phatline's app on my OSX, worked fine, today I tried under Windows 10 Pro, works fine too. Seems to be a Linux subtlety... Someone?
×
×
  • Create New...