Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
4 years 9 months ago #231920 by wazza77
also is the baud rate still 115200 for serial coms

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231926 by cakeslob
Ok, I dont kniow anything about the bare metal build, but I think I just missed an I or a Z somewhere in the custom targets json, so I have it built, like normal.

edit, holy shit it works, finally a working one thanks for the help scott , ill upload the stuff in a moment
The following user(s) said Thank You: scotta

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231932 by cakeslob
 hey wazza , try playing with this one in hal
Code:
loadrt remora chip_type=STM SPI_clk_div=16
try setting it to 32, or 64, depending on how long your cable is, I use this for trouble shooting

Do you get anything in uart from the board? Im going to assume it is writing to 0x8000000, but you can check where its writing using your stlink and st-utils or st-tools to see where its writing. the black board config is using most of the stuff from the seeed arch max config,

Here is the info about the board from an mbed os perspective, under board features it says theres some bootloader selection pins so that might be worth looking into aswell

os.mbed.com/users/hudakz/code/STM32F407VET6_Hello/shortlog/
os.mbed.com/platforms/Seeed-Arch-Max/
The following user(s) said Thank You: wazza77

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231934 by wazza77
Morning cakeslob
0x8000000 is the standard location in ST utility I was just wondering if there had been an allowance for a boot loader etc.
I get nothing from the uart I'm trying to eliminate everything I can should I receive data from uart the instant it powers up

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231937 by wazza77
I have changed the clock divider to 64 but no luck

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231938 by cakeslob
what I mean is, I dont see a bootloader offset in the initial mbed_lib.json but it will do what ever the arch max is doing. but you can use the stlink and st-tools to see where its actually being written to by looking at the flash data, from the boards ive checked, there usually several empty sections in the memory between the bootloader and firmware
The following user(s) said Thank You: wazza77

Please Log in or Create an account to join the conversation.

Time to create page: 0.505 seconds
Powered by Kunena Forum