BMW 735i E38 V8

Abricos
contributor
contributor
Posts: 699
Joined: Mon Aug 18, 2014 12:32 am

Re: BMW 735i E38 V8

Post by Abricos » Fri May 13, 2016 11:00 am

Ой дружок думаю зря ты так ...
Напаришся и убёш больше времени на отдельные платы и сэкономиш 20-40$ ито не факт если где-нибудь не ошибёшся и чёнить не згорит ... А дискавери горят как семечки ... на форуме где-то тема есть можно ли их реанимировать ...
Хотя-бы набор спояй Сам возьми ...

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri May 13, 2016 11:35 am

Думал заказать, но все же преобладает интерес собрать по максимуму без заказа из заграници. С электроникой помагает друг, который электронщик со стажем. Платы по чертежам напечатают. С некоторыми элементами конечно напряг, но думаю получиться аналоги подобрать. Я вот список составил из основных плат которые надо сделать, поправьте если что-то не так:
Discovery уже есть)
1) Декодер ДД на HI9011
2) 12 канальный драйвер форсунок
3) VR_Board на MAX9926
4) БП 5V
5) adc_amp_divider

Забыл написать что пока цель стоит собрать не полный блок, а минимальный на котором машина сможет работать.

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Sat May 14, 2016 1:35 am

По платам ты прав, но будет жуткая кипа проводов и очень много геммороя. У меня все было именно так на фанерке, сейчас я вспоминаю это как страшный сон.

Но это будет работать. Но времени будет убито много.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Tue May 17, 2016 10:41 am

Главное что должно работать) Пока мне не прислали печатные платы, начал разбираться с прошивкой и TunerSudio и снова возник вопрос. Как указать пины зажигания для 8 цилиндров, если там только для 6?. В параметрах TunerStudio выбрал 8 цилиндровый двигатель.
Attachments
зажигание.PNG
зажигание.PNG (67.1 KiB) Viewed 2817 times

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Tue May 17, 2016 11:15 am

Там еще и опечатка была про 5ый и 6ой. Добавил 7ой и 8ой в файл проекта - через 30 минут должно появится в bundle.zip
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Thu May 19, 2016 8:56 am

Пока делают платы и едут комплектующие начал разбираться с исходным кодом. Все установил, нашел документацию, вроде все сделал правильно... Но при компиляции ошибка. В чем может быть проблема?
Attachments
Ошибка компиляции.PNG
Ошибка компиляции.PNG (122.34 KiB) Viewed 2794 times

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Thu May 19, 2016 12:13 pm

Подробная информация нужна, она во вкладке console.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri May 20, 2016 10:51 am

13:48:07 **** Incremental Build of configuration Debug_EMS for project firmware ****
cs-make all
Building target: rusefi.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -g3 -T "..\config\stm32f4ems\STM32F407xG_CCM.ld" -Xlinker --gc-sections -Wl,-Map,"rusefi.map" -Wl,-Map,"rusefi.map" -mcpu=cortex-m4 -mthumb -g3 -o "rusefi.elf" ./util/LocalVersionHolder.o ./util/cli_registry.o ./util/crc.o ./util/cyclic_buffer.o ./util/data_buffer.o ./util/datalogging.o ./util/efilib.o ./util/efilib2.o ./util/histogram.o ./util/listener_array.o ./util/loggingcentral.o ./util/rfiutil.o ./hw_layer/stm32f4/mpu_util.o ./hw_layer/serial_over_usb/usbcfg.o ./hw_layer/serial_over_usb/usbconsole.o ./hw_layer/lcd/lcd_HD44780.o ./hw_layer/HIP9011.o ./hw_layer/adc_inputs.o ./hw_layer/board_test.o ./hw_layer/can_hw.o ./hw_layer/digital_input_hw.o ./hw_layer/flash.o ./hw_layer/gpio_helper.o ./hw_layer/hardware.o ./hw_layer/io_pins.o ./hw_layer/joystick.o ./hw_layer/max31855.o ./hw_layer/mcp3208.o ./hw_layer/microsecond_timer.o ./hw_layer/mmc_card.o ./hw_layer/neo6m.o ./hw_layer/pin_repository.o ./hw_layer/pwm_generator.o ./hw_layer/rtc_helper.o ./hw_layer/servo.o ./hw_layer/stepper.o ./hw_layer/trigger_input.o ./hw_layer/vehicle_speed.o ./hw_layer/wbo.o ./development/test/test.o ./development/test/testbmk.o ./development/hw_layer/poten.o ./development/engine_emulator.o ./development/engine_sniffer.o ./development/rfi_perftest.o ./development/sensor_chart.o ./development/trigger_emulator.o ./development/wave_analyzer.o ./controllers/trigger/main_trigger_callback.o ./controllers/trigger/rpm_calculator.o ./controllers/trigger/trigger_bmw.o ./controllers/trigger/trigger_central.o ./controllers/trigger/trigger_chrysler.o ./controllers/trigger/trigger_decoder.o ./controllers/trigger/trigger_emulator_algo.o ./controllers/trigger/trigger_gm.o ./controllers/trigger/trigger_mazda.o ./controllers/trigger/trigger_mitsubishi.o ./controllers/trigger/trigger_nissan.o ./controllers/trigger/trigger_rover.o ./controllers/trigger/trigger_simulator.o ./controllers/trigger/trigger_structure.o ./controllers/trigger/trigger_subaru.o ./controllers/trigger/trigger_toyota.o ./controllers/system/SingleTimerExecutor.o ./controllers/system/efiGpio.o ./controllers/system/event_queue.o ./controllers/system/pwm_generator_logic.o ./controllers/system/signal_executor_sleep.o ./controllers/sensors/allsensors.o ./controllers/sensors/ego.o ./controllers/sensors/hip9011_lookup.o ./controllers/sensors/maf.o ./controllers/sensors/map.o ./controllers/sensors/thermistors.o ./controllers/sensors/tps.o ./controllers/sensors/voltage.o ./controllers/math/engine_math.o ./controllers/math/pid.o ./controllers/math/speed_density.o ./controllers/core/EfiWave.o ./controllers/core/avg_values.o ./controllers/core/fsio_core.o ./controllers/core/fsio_impl.o ./controllers/core/interpolation.o ./controllers/core/signal_filtering.o ./controllers/core/table_helper.o ./controllers/algo/accel_enrichment.o ./controllers/algo/advance_map.o ./controllers/algo/algo.o ./controllers/algo/auto_generated_enums.o ./controllers/algo/engine.o ./controllers/algo/engine_configuration.o ./controllers/algo/event_registry.o ./controllers/algo/fuel_math.o ./controllers/algo/idle_controller.o ./controllers/algo/lcd_menu_tree.o ./controllers/algo/malfunction_central.o ./controllers/algo/map_adjuster.o ./controllers/algo/nmea.o ./controllers/algo/signal_executor.o ./controllers/PwmTester.o ./controllers/alternatorController.o ./controllers/electronic_throttle.o ./controllers/engine_controller.o ./controllers/error_handling.o ./controllers/flash_main.o ./controllers/idle_thread.o ./controllers/injector_central.o ./controllers/lcd_controller.o ./controllers/malfunction_indicator.o ./controllers/map_averaging.o ./controllers/obd2.o ./controllers/obd2viaCAN.o ./controllers/settings.o ./controllers/tachometer.o ./console/binary/tunerstudio.o ./console/binary/tunerstudio_io.o ./console/console_io.o ./console/eficonsole.o ./console/status_loop.o ./config/engines/GY6_139QMB.o ./config/engines/MiniCooperR50.o ./config/engines/acura_rsx.o ./config/engines/audi_aan.o ./config/engines/bmw_e34.o ./config/engines/chevrolet_c20_1973.o ./config/engines/chevrolet_camaro_4.o ./config/engines/citroenBerlingoTU3JP.o ./config/engines/custom_engine.o ./config/engines/daihatsu.o ./config/engines/dodge_neon.o ./config/engines/dodge_ram.o ./config/engines/dodge_stratus.o ./config/engines/engine_template.o ./config/engines/ford_1995_inline_6.o ./config/engines/ford_aspire.o ./config/engines/ford_festiva.o ./config/engines/ford_fiesta.o ./config/engines/geo_storm.o ./config/engines/gm_2_2.o ./config/engines/honda_accord.o ./config/engines/lada_kalina.o ./config/engines/mazda_323.o ./config/engines/mazda_626.o ./config/engines/mazda_miata.o ./config/engines/mazda_miata_1_6.o ./config/engines/mazda_miata_nb.o ./config/engines/mitsubishi.o ./config/engines/nissan_primera.o ./config/engines/rover_v8.o ./config/engines/sachs.o ./config/engines/saturn_ion.o ./config/engines/snow_blower.o ./config/engines/subaru.o ./config/engines/suzuki_vitara.o ./config/engines/test_engine.o ./config/engines/toyota_jzs147.o ./config/engines/vw.o ./config/engines/zil130.o ./chibios/os/various/fatfs_bindings/fatfs_diskio.o ./chibios/os/various/fatfs_bindings/fatfs_syscall.o ./chibios/os/various/cpp_wrappers/ch.o ./chibios/os/various/chprintf.o ./chibios/os/various/chrtclib.o ./chibios/os/various/memstreams.o ./chibios/os/various/syscalls.o ./chibios/os/ports/common/ARMCMx/nvic.o ./chibios/os/ports/GCC/ARMCMx/STM32F4xx/vectors.o ./chibios/os/ports/GCC/ARMCMx/chcore.o ./chibios/os/ports/GCC/ARMCMx/chcore_v7m.o ./chibios/os/ports/GCC/ARMCMx/crt0.o ./chibios/os/kernel/src/chcond.o ./chibios/os/kernel/src/chdebug.o ./chibios/os/kernel/src/chdynamic.o ./chibios/os/kernel/src/chevents.o ./chibios/os/kernel/src/chheap.o ./chibios/os/kernel/src/chlists.o ./chibios/os/kernel/src/chmboxes.o ./chibios/os/kernel/src/chmemcore.o ./chibios/os/kernel/src/chmempools.o ./chibios/os/kernel/src/chmsg.o ./chibios/os/kernel/src/chmtx.o ./chibios/os/kernel/src/chqueues.o ./chibios/os/kernel/src/chregistry.o ./chibios/os/kernel/src/chschd.o ./chibios/os/kernel/src/chsem.o ./chibios/os/kernel/src/chsys.o ./chibios/os/kernel/src/chthreads.o ./chibios/os/kernel/src/chvt.o ./chibios/os/hal/src/adc.o ./chibios/os/hal/src/can.o ./chibios/os/hal/src/ext.o ./chibios/os/hal/src/gpt.o ./chibios/os/hal/src/hal.o ./chibios/os/hal/src/i2c.o ./chibios/os/hal/src/icu.o ./chibios/os/hal/src/mac.o ./chibios/os/hal/src/mmc_spi.o ./chibios/os/hal/src/mmcsd.o ./chibios/os/hal/src/pal.o ./chibios/os/hal/src/pwm.o ./chibios/os/hal/src/rtc.o ./chibios/os/hal/src/sdc.o ./chibios/os/hal/src/serial.o ./chibios/os/hal/src/serial_usb.o ./chibios/os/hal/src/spi.o ./chibios/os/hal/src/tm.o ./chibios/os/hal/src/uart.o ./chibios/os/hal/src/usb.o ./chibios/os/hal/platforms/STM32F4xx/adc_lld.o ./chibios/os/hal/platforms/STM32F4xx/ext_lld_isr.o ./chibios/os/hal/platforms/STM32F4xx/hal_lld.o ./chibios/os/hal/platforms/STM32F4xx/stm32_dma.o ./chibios/os/hal/platforms/STM32/USARTv1/serial_lld.o ./chibios/os/hal/platforms/STM32/USARTv1/uart_lld.o ./chibios/os/hal/platforms/STM32/TIMv1/gpt_lld.o ./chibios/os/hal/platforms/STM32/TIMv1/icu_lld.o ./chibios/os/hal/platforms/STM32/TIMv1/pwm_lld.o ./chibios/os/hal/platforms/STM32/SPIv1/spi_lld.o ./chibios/os/hal/platforms/STM32/RTCv2/rtc_lld.o ./chibios/os/hal/platforms/STM32/OTGv1/usb_lld.o ./chibios/os/hal/platforms/STM32/I2Cv1/i2c_lld.o ./chibios/os/hal/platforms/STM32/GPIOv2/pal_lld.o ./chibios/os/hal/platforms/STM32/can_lld.o ./chibios/os/hal/platforms/STM32/ext_lld.o ./chibios/os/hal/platforms/STM32/i2s_lld.o ./chibios/os/hal/platforms/STM32/mac_lld.o ./chibios/os/hal/platforms/STM32/sdc_lld.o ./chibios/ext/fatfs/src/option/ccsbcs.o ./chibios/ext/fatfs/src/ff.o ./chibios/boards/ST_STM32F4_DISCOVERY/board.o ./kill_for_coverity.o ./main.o ./rusefi.o
`chThdExit' referenced in section `.text._port_thread_start.4332' of C:\TEMP\cc7Evagl.ltrans6.ltrans.o: defined in discarded section `.text' of ./chibios/os/kernel/src/chthreads.o (symbol from plugin)
collect2.exe: error: ld returned 1 exit status
cs-make: *** [rusefi.elf] Error 1

13:49:18 Build Finished (took 1m:10s.153ms)

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Fri May 20, 2016 11:54 am

Скомпилировалось, но не слинковалось. Интересно.

Что говорит arm-none-eabi-g++ -v
?
поставь пожалуйста make (например из cygwin) и попробуй без eclipse?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri May 20, 2016 12:04 pm

Вечером попробую не через эклипс скомпилировать
Attachments
Console.PNG
Console.PNG (84.32 KiB) Viewed 2765 times

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Fri May 20, 2016 12:17 pm

У меня чуть свежее - gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-28)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Mon May 23, 2016 12:25 pm

Приболел немного на выходных и было не до компиляции. Вот сегодня через Cygdrive скомпиоировал
Attachments
Компиляция в консоле.PNG
Компиляция в консоле.PNG (92.89 KiB) Viewed 2754 times

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Mon May 23, 2016 12:36 pm

Вот как хорошо :)

в эклипсе вероятно путь к .ld файлу страдает
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Mon May 23, 2016 1:16 pm

И что в этом случае необходимо сделать? :)

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Mon May 23, 2016 1:17 pm

предлагаю забить :) ну или потыкать настройки проекта, найти настройку пути к .ld файлу и проверить всё ли там ОК
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri May 27, 2016 2:12 pm

Появился вопрос по схемотехнике,а именно с VR board. Зачем на вход IN_THRS1 подавать 5в и заземлять?
Attachments
MAX9926.jpg
MAX9926.jpg (26.36 KiB) Viewed 2714 times

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Fri May 27, 2016 2:32 pm

Это проще спросить в топике про эту плату? :) Но я программист, так что не отвечу :(
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri May 27, 2016 2:45 pm

Я вроде уже разобрался) Спасибо :D

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri Jun 03, 2016 10:26 am

Уже пришли некоторые платы и з.ч. Буду начинать сборку :D

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri Jun 03, 2016 10:28 am

А RUSEfi может работать с оптическим ДПКВ?

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Fri Jun 03, 2016 11:12 am

Да
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri Jun 03, 2016 12:31 pm

Получаеться опчический ДПКВ можно подключать без MAX9926? Нужны какие-то кардинальные изменения ПО?

User avatar
russian
Site Admin
Posts: 9521
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: BMW 735i E38 V8

Post by russian » Fri Jun 03, 2016 12:38 pm

Можно с MAX9926, наверное можно и без. Никакие изменения ПО не нужны :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

van_ko94
Posts: 31
Joined: Wed May 04, 2016 11:19 am
Location: Kharkiv, Ukraine

Re: BMW 735i E38 V8

Post by van_ko94 » Fri Jun 03, 2016 12:44 pm

Спасибо за быстрый ответ :D

Post Reply