embeded/Cortex-M4 STM2026. 6. 19. 14:58

BOOT1 이라고 오른쪽 중간에 있는 곳을 잘 보면

BOOT0가 있는데 그걸 좌측 세번째 X3 crystal 근처의 3V 와 연결(pull up)

 

우측의 SDRAM 이라고 써있는 근처에 PA9 PA10를 USB TTL UART에 적당히~ 연결해주면 끝

[링크 : https://www.st.com/resource/en/user_manual/um1670-discovery-kit-with-stm32f429zi-mcu-stmicroelectronics.pdf]

 

잘 읽네. 그런데 속도 못 올리나.. 쩝..

$ stm32flash /dev/ttyUSB0 
stm32flash 0.5

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1
Version      : 0x31
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0419 (STM32F42xxx/43xxx)
- RAM        : Up to 192KiB  (12288b reserved by bootloader)
- Flash      : Up to 2048KiB (size first sector: 1x16384)
- Option RAM : 65552b
- System RAM : 30KiB

 

$ stm32flash -r dump.bin /dev/ttyUSB0 
stm32flash 0.5

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1
Version      : 0x31
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0419 (STM32F42xxx/43xxx)
- RAM        : Up to 192KiB  (12288b reserved by bootloader)
- Flash      : Up to 2048KiB (size first sector: 1x16384)
- Option RAM : 65552b
- System RAM : 30KiB
Memory read
Read address 0x08052100 (16.03%) ^C

 

'embeded > Cortex-M4 STM' 카테고리의 다른 글

stm32_programmer_cli 를 이용한 option byte 변경  (0) 2026.03.19
NUCLEO-WL55JC  (0) 2026.03.17
stm32g473 ART accelerator on/off ?  (0) 2026.02.06
stm32g473 flash doubleword  (0) 2026.02.04
STM32G47x dual bank flash  (0) 2026.02.03
Posted by 구차니
embeded/robot2026. 6. 19. 11:40

좌표는 mm 단위인가?

mycobot_280 mycobot_320

 

atom 버튼 누르면 release_all_servos() 를 실행하고

damping 모드 되어있으면 팔이 떨어지진 않을것 같으니 원하는대로 옮기고

atom 버튼 떼면

get_angles() 나 get_coords() 해서 좌표 받고, power_on() 해서 서보 고정하고 끝.. 하면 좀 편하게 되려나?

### 1. System Status
#### `get_modify_version()`
#### `clear_queue()`
#### `check_async_or_sync()`
#### `get_system_version()`
#### `get_basic_version()`
#### `get_error_information()`
#### `clear_error_information()`
#### `get_reboot_count()`

### 2. Overall Status
#### `power_on()`
#### `power_off()`
#### `is_power_on()`
#### `release_all_servos()`
#### `focus_servo(servo_id)`
#### `is_controller_connected()`
#### `read_next_error()`
#### `get_fresh_mode()`
#### `set_fresh_mode()`
#### `set_free_mode()`
#### `is_free_mode()`
#### `focus_all_servos()`
#### `set_vision_mode()`

### 3.MDI Mode and Operation
#### `get_angles()`
#### `get_angles_plan()`
#### `send_angle(id, degree, speed)`
#### `send_angles(angles, speed)`
#### `get_coords()`
#### `get_coords_plan()`
#### `send_coord(id, coord, speed)`
#### `send_coords(coords, speed, mode)`
#### `pause()`
#### `sync_send_angles(angles, speed, timeout=15)`
#### `sync_send_coords(coords, speed, mode=0, timeout=15)`
#### `get_angles_coords()`
#### `is_paused()`
#### `resume()`
#### `stop()`
#### `is_in_position(data, flag)`
#### `is_moving()`
#### `angles_to_coords(angles)`
#### `solve_inv_kinematics(target_coords, current_angles)`
#### `drag_start_record()`
#### `drag_end_record()`
#### `drag_get_record_data()`
#### `drag_get_record_len()`
#### `drag_clear_record_data()`

### 4. JOG Mode and Operation
#### `jog_angle(joint_id, direction, speed)`
#### `jog_coord(coord_id, direction, speed)`
#### `jog_rpy(end_direction, direction, speed)`
#### `jog_increment_angle(joint_id, increment, speed)`
#### `jog_increment_coord(id, increment, speed)`
#### `set_encoder(joint_id, encoder, speed)`
#### `get_encoder(joint_id)`
#### `set_encoders(encoders, speed)`
#### `get_encoders()`

### 5. Running status and Settings
#### `get_joint_min_angle(joint_id)`
#### `get_joint_max_angle(joint_id)`
#### `set_joint_min(id, angle)`
#### `set_joint_max(id, angle)`

### 6. Joint motor control
#### `is_servo_enable(servo_id)`
#### `is_all_servo_enable()`
#### `set_servo_calibration(servo_id)`
#### `release_servo(servo_id)`
#### `focus_servo(servo_id)`
#### `set_servo_data(servo_id, data_id,  value, mode=None)`
#### `get_servo_data(servo_id, data_id, mode=None)`
#### `joint_brake(joint_id)`

### 7. 9g Servo
#### `move_round()`
#### `set_four_pieces_zero()`

### 8. Servo state value
#### `get_servo_speeds()`
#### `get_servo_voltages()`
#### `get_servo_status()`
#### `get_servo_temps()`

### 9. Robotic arm end IO control
#### `set_color(r, g, b)`
#### `set_digital_output(pin_no, pin_signal)`
#### `get_digital_input(pin_no)`
#### `set_pin_mode(pin_no, pin_mode)`

### 10. Robotic arm end gripper control
#### `set_gripper_state(flag, speed, _type_1=None)`
#### `set_gripper_value(gripper_value, speed, gripper_type=None)`
#### `gripper_stop()`
#### `set_gripper_calibration()`
#### `is_gripper_moving()`
#### `get_gripper_value()`
#### `set_pwm_output(channel, frequency, pin_val)`
#### `set_HTS_gripper_torque(torque)`
#### `get_HTS_gripper_torque()`
#### `get_gripper_protect_current()`
#### `set_gripper_protect_current(current)`
#### `init_gripper()`

### 11. Set bottom IO input/output status
#### `set_basic_output(pin_no, pin_signal)`
#### `get_basic_input(pin_no)`

### 12. WLAN Setting
#### `set_ssid_pwd(account, password)`
#### `get_ssid_pwd()`
#### `set_server_port(port)`

### 13. TOF
#### `get_tof_distance()`

### 14. Communication mode
#### `set_transponder_mode(mode)`
#### `get_transponder_mode()`

### 15. Cartesian space coordinate parameter setting
#### `set_tool_reference(coords)`
#### `get_tool_reference(coords)`
#### `set_world_reference(coords)`
#### `get_world_reference()`
#### `set_reference_frame(rftype)`
#### `get_reference_frame()`
#### `set_movement_type(move_type)`
#### `get_movement_type()`
#### `set_end_type(end)`
#### `get_end_type()`

### 16. Raspberry pi -- GPIO
#### `gpio_init()`
#### `gpio_output(pin, v)`

### 17. utils (module)
#### `utils.get_port_list()`
#### `utils.detect_port_of_basic()`

[링크 : https://github.com/elephantrobotics/pymycobot/blob/main/docs/MyCobot_280_en.md]

    [링크 : https://github.com/elephantrobotics/pymycobot]

 

Gcode 읽어서 그거대로 움직이는 예제가 demo로 있다.

[링크 : https://github.com/elephantrobotics/pymycobot/tree/main/demo/myCobot_280_demo[

 

'embeded > robot' 카테고리의 다른 글

elephant robotics mycobot 280 pi python 예제  (0) 2026.06.16
유니버셜 로봇 polyscope 5  (0) 2026.06.16
로봇 tcp 확인  (0) 2025.04.25
로봇 좌표계, TCP ... 2?  (0) 2024.09.02
elephantrobotics Mycobot-pi atom  (0) 2024.07.11
Posted by 구차니
embeded/robot2026. 6. 16. 11:03

오랫만에 하니 다 까먹었고, 정보도 없고 ㅠㅜ

from pymycobot.mycobot import MyCobot
from pymycobot import PI_PORT, PI_BAUD

mc = MyCobot(PI_PORT, PI_BAUD)

mc.set_color(0,0,255) #blue light on
mc.send_angles([0, 0, 0, 0, 0, 0], 30)

 

>>> PI_PORT
'/dev/ttyAMA0'

>>> PI_BAUD
1000000

 

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/7-ApplicationBasePython/7.7_example.html]

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/7-ApplicationBasePython/7.4_IO.html]

'embeded > robot' 카테고리의 다른 글

elephant robotics cobot python api  (0) 2026.06.19
유니버셜 로봇 polyscope 5  (0) 2026.06.16
로봇 tcp 확인  (0) 2025.04.25
로봇 좌표계, TCP ... 2?  (0) 2024.09.02
elephantrobotics Mycobot-pi atom  (0) 2024.07.11
Posted by 구차니
embeded/robot2026. 6. 16. 10:25

실습하러 갔다 왔었는데 다시 찾아보니 polyscope X 버전이 아닌 5 였나 보다.

[링크 : https://www.universal-robots.com/manuals/ko/HTML/SW5_25_1/Content/prod-usr-man/software/PolyScope/content/move_g5/move_tab_en.htm]

 

아래는 레인보우 로보틱스의 타블렛 프로그램 UI

jog mode 2로 바꾸고 하면 TCP 자세와 동일하게 조작이 가능할 듯?

'embeded > robot' 카테고리의 다른 글

elephant robotics cobot python api  (0) 2026.06.19
elephant robotics mycobot 280 pi python 예제  (0) 2026.06.16
로봇 tcp 확인  (0) 2025.04.25
로봇 좌표계, TCP ... 2?  (0) 2024.09.02
elephantrobotics Mycobot-pi atom  (0) 2024.07.11
Posted by 구차니
embeded/arduino(genuino)2026. 6. 12. 18:11

20x4 캐릭터 LCD

 

와우 비싸네

[링크 : https://www.devicemart.co.kr/goods/view?no=1075079]

 

회사 pcb 쓰레기통에서 적출!

을 하드웨어팀 인원에게 빼달라고 요청함 ㅋㅋ

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 나노 전류  (0) 2025.10.14
arduino nano로 4채널 pwm 출력하기  (0) 2025.10.11
아두이노 시리얼 이벤트 핸들러  (0) 2025.10.09
퀄컴 아두이노 인수  (0) 2025.10.08
아두이노 sd 카드 spi 방식  (0) 2025.08.24
Posted by 구차니
embeded/i.mx 8m plus2026. 5. 27. 16:30

1080 ti 가지고 해보려고 했는데 버전이나 다른 문제가 있는지 영안되서

강제로 cpu 로 돌리는데(export CUDA_VISIBLE_DEVICES=-1)

저 선이 얼마나 올라가야 하나 감이 안와서 찾아보는데

 

엌.. epoch 150.. 어쩌구

 

When looking at the visual results of papers, I found that their images showed a sudden increase in accuracy at the 80th epoch( the figure6 in paper "ON THE VARIANCE OF THE ADAPTIVE LEARNING RATE AND BEYOND" )

enter image description here

or 150th epoch(the figure3 in paper"ADAPTIVE GRADIENT METHODS WITH DYNAMICBOUND OF LEARNING RATE")

[링크 : https://stackoverflow.com/questions/70412433/why-does-a-sudden-increase-in-accuracy-at-an-epoch-in-these-model]

아무튼  steps 로 보고 있는건 의미가 없고

 

만 스텝 넘어가기 시작하는데 노란색 점이 조금씩 올라가는거 보면. 어마어마 하게 돌려야 하나보다.

 

epoch가 100단위로 가려면 어우..

 

로그를 보니, train 일 때 그래프가 갱신된다.

val쪽이 더 빠르게 진행되고, train은 확실히 느리게 진행된다.

 [ssd_mobilenet_v3][Epoch: 8]: val    | val-acc: 0.1179 | val-loss: 1.2944 | lr: 0.0100000 |: 100%|██████████| 339/339 [01:16<00:00,  5.04it/s]

 [ssd_mobilenet_v3][Epoch: 9]: train  | acc: 0.2176 | loss: 1.2766 | lr: 0.0100000 |:   0%|          | 1/1355 [00:00<14:12,  1.59it/s]

 

+

2026.05.28

먼가.. 주기적으로 확 떨어지는게 보이는데.. 문제가 있는건 아니겠지?

 

 

'embeded > i.mx 8m plus' 카테고리의 다른 글

nxp CMSIS-NN  (0) 2026.05.13
g2d_surface g2d_blit()  (0) 2026.02.10
eiq 모델 정리  (0) 2025.09.16
eiq 데이터 구조  (0) 2025.09.05
ubuntu 22.04 + cuda + cudnn 설치  (0) 2025.09.04
Posted by 구차니
embeded/esp322026. 5. 24. 19:55

edge impulse 사이트 가입해봐야하나..

학습 시스템이랑 돌아가는 경량 모델을 찾아봐야겠다.

 

[링크 : https://www.youtube.com/watch?v=bZIKVaD3dRk]

[링크 : https://circuitdigest.com/microcontroller-projects/object-recognition-using-esp32-cam-and-edge-impulse]

[링크 : https://github.com/Circuit-Digest/Object-Detection-Using-ESP32-CAM-Edge-Impulse-along-with-the-I2C-OLED-Display]

 

EloquentEsp32cam 요런 아두이노 라이브러리를 쓴다는데

[링크 : https://github.com/eloquentarduino/EloquentEsp32cam]

 

fomo 가 모델명인가?

[링크 : https://docs.edgeimpulse.com/studio/projects/learning-blocks/blocks/object-detection/fomo]

 

 

'embeded > esp32' 카테고리의 다른 글

platform.io + vscode + esp32  (0) 2026.02.18
esp32 on arduino ide  (0) 2026.02.18
esp component 와 idf.py create-project-from-example  (0) 2026.02.10
idf.py help  (0) 2026.02.10
idf 프로젝트 생성하기  (0) 2026.02.08
Posted by 구차니
embeded/Cortex-M7 STM2026. 5. 22. 18:27

srec_cat test1.hex -Intel test2.hex -Intel -o whole.hex -Intel

intel 계속 넣어야 하나?

 

[링크 : https://m.blog.naver.com/techref/222807970120]

[링크 : https://www.howtoinstall.me/ubuntu/18-04/srecord/]

'embeded > Cortex-M7 STM' 카테고리의 다른 글

x-cube-ai 예제..?  (0) 2026.05.13
stm32h757 링커 스크립트  (0) 2026.03.13
stm32h757 메모리(SRAM) 구조  (0) 2026.03.13
stm32f7 dual bank flash  (0) 2026.02.03
stm32f746g-disco with semtech sx1276 and lvgl  (0) 2026.02.03
Posted by 구차니
embeded/i.mx 8m plus2026. 5. 13. 17:48

cortex-M 을 위한 CMSIS-NN 예제 라고 해야하나?

아무튼 먼가.. 드럽네 -_-

그나저나 웨이트는.. 어떻게 펌웨어 안에 넣지?

 

[링크 : https://www.nxp.com/docs/en/application-note/AN12781.pdf]

[링크 : https://www.nxp.com/design/design-center/software/eiq-ai-development-environment/eiq-for-arm-cmsis-nn:eIQArmCMSISNN]

'embeded > i.mx 8m plus' 카테고리의 다른 글

eiq-portal로 학습 시도(cpu)  (0) 2026.05.27
g2d_surface g2d_blit()  (0) 2026.02.10
eiq 모델 정리  (0) 2025.09.16
eiq 데이터 구조  (0) 2025.09.05
ubuntu 22.04 + cuda + cudnn 설치  (0) 2025.09.04
Posted by 구차니
embeded/Cortex-M7 STM2026. 5. 13. 17:35

'embeded > Cortex-M7 STM' 카테고리의 다른 글

srec_cat 해봄  (0) 2026.05.22
stm32h757 링커 스크립트  (0) 2026.03.13
stm32h757 메모리(SRAM) 구조  (0) 2026.03.13
stm32f7 dual bank flash  (0) 2026.02.03
stm32f746g-disco with semtech sx1276 and lvgl  (0) 2026.02.03
Posted by 구차니