Search found 94 matches

by ep.hobbyiest
Sun Mar 19, 2017 1:16 pm
Forum: General Support
Topic: need help with ADC struct
Replies: 0
Views: 1661

need help with ADC struct

Hi folks, I was reading reference manual for stm32f1xx. I got confused in ADC section on point regular and injected conversion. in scan mode of regular conversion we use ADC_SQRx registers. I know this is for sequence the way we read adc channel. I am not understanding how it is been used. As in str...
by ep.hobbyiest
Sat Mar 11, 2017 4:49 am
Forum: STM32 Support
Topic: usart2 is not gettiing configured. Topic is solved
Replies: 3
Views: 2599

Re: usart2 is not gettiing configured. Topic is solved

Hi again,
Still i am facing this problem.
I wanted to read some sensors over uart and send it PC. So, i was configuring for uart2(PA2, PA3).

Somebody, please have a look.
I have attached required files.
by ep.hobbyiest
Thu Feb 23, 2017 6:31 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 12699

Re: need help with nrf51822 and openocd

Initially i gave same path. Later i tried on Desktop(copied hex file there also) as well. Later i tried in projects root path(copied hex and bin file). then also no success. I gave telnet connection via putty , isn't it matter, right? here are the commands i tried. Open On-Chip Debugger 0.10.0-dev-0...
by ep.hobbyiest
Wed Feb 22, 2017 5:44 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 12699

Re: need help with nrf51822 and openocd

Thanks. I Synced the code with latest. Modified some makefiles. And it got compiled. I opened openOCD. But how to flash the device. I ran some commands like in putty like Open On-Chip Debugger > flash write_image erase build/ch.hex 0 auto erase enabled couldn't open build/ch.hex > flash write_image ...
by ep.hobbyiest
Mon Feb 20, 2017 7:14 pm
Forum: General Support
Topic: how to flash devices which has no .launch file
Replies: 1
Views: 1358

how to flash devices which has no .launch file

Hi,

I have one doubt. In some projects there are no debug folder and no .launch file as well. (like NRF51 projects)
So, how to flash this devices. As we have already configured OPENOCD in our studio.
Is there .launch file or we have to make it manually?
by ep.hobbyiest
Sun Feb 19, 2017 10:14 am
Forum: STM32 Support
Topic: usart2 is not gettiing configured. Topic is solved
Replies: 3
Views: 2599

usart2 is not gettiing configured. Topic is solved

Hi, I am using stm32f103 controller. I was configuring UART2, but it is not getting configured it seems. I changed board files as well to make sure pin configuration. following is function stack when i stop the debug. 7 uart_lld_start_send() uart_lld.c:760 0x08001780 6 uartStartSend() uart.c:143 0x0...
by ep.hobbyiest
Sat Feb 18, 2017 9:16 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 12699

Re: need help with nrf51822 and openocd

i think there are some changes in hal/port/NRF5/. Changes might be because of change in file names. bcoz i am getting following errors. make -j4 all Compiling hal.c Compiling st.c Compiling hal_queues.c Compiling hal_mmcsd.c In file included from C:/ChibiStudio/chibios30/os/hal/include/hal.h:69:0, f...
by ep.hobbyiest
Sat Feb 18, 2017 7:11 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 12699

Re: need help with nrf51822 and openocd

i was trying to use that one, but got following error.

Code: Select all

make: *** No rule to make target `chcoreasm_v6m.S', needed by `build/obj/chcoreasm_v6m.o'.  Stop.


few of them are resolve, but i have no idea how to resolve this one.
by ep.hobbyiest
Thu Feb 16, 2017 7:58 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 12699

need help with nrf51822 and openocd

Hi, I configured openOCD and gcc compiler. But i got following error. i gave following command on terminal. i created one file that is manual.cfg and contain in that file as follows. #nRF52832 Target source [find interface/stlink-v2.cfg] transport select hla_swd source [find target/nrf52.cfg] and ra...
by ep.hobbyiest
Sun Feb 12, 2017 9:56 am
Forum: nRF51 Support
Topic: How to program nRF51822
Replies: 3
Views: 5207

Re: How to program nRF51822

Thanks. And i got few tutorials as well. I was looking for for example code for nrf51822 processor. I got one in chibi-contri. But while compiling i got following error. I think problem with linking. here is error. make -j4 all make: *** No rule to make target `chcoreasm_v6m.S', needed by `build/obj...

Go to advanced search