Jump to content

wingnut41

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by wingnut41

  1. I wonder if the serial adapter I bought is incompatible. I'll buy the ST-Link V2 & see if it works with that. I don't see why there would be a difference, but... This doesn't look familiar... is this a different program? The tutorial that's on github says "Run the program STM32 Flash Loader Demonstrator." This is what I'm using: https://www.st.com/en/development-tools/flasher-stm32.html EDIT: Nevermind about the flasher. I'm looking at the V2 tutorial now.:thumbup:
  2. Sokol, thanks for the link, I'm not sure why the .hex was missing from the zip I had downloaded, it was the same release... anyway, I flashed the .hex file & it still doesn't work for me. The LEDs on the serial adapter flash just like they do when I upload any other sketch to the STM32, and with the flashloader you can "verify after download" and it says it has loaded correctly. However, when I disconnect it from the adapter & plug it in on its own, I get nothing. Kea, thanks for responding here. I saw your project & figured I might ask you directly for help, since you did almost exactly what I'm working on. I can't read the config from the device, as the config util doesn't recognize that anything is plugged in. It's very unlikely that this is a hardware issue (the board runs other sketches just fine), but I may unwrap another STM32 and give it a try... I'm sure it's user error though. I'll keep tinkering. If you guys have any more insights, I appreciate the feedback.
  3. That's what I'm here for :D:smartass: The gibberish is certainly overwhelming, I'm trying to only digest what I need to at first. Most of that gibberish is just hardware specs that don't really matter because I've got lots of headroom with a simple project like this. Language and syntax are super easy to learn. I've followed & adapted numerous tutorials & figured out how to use switches & blink LEDs. Personally I try not to reproduce or modify anything until I understand how it works. That's what I've decided to do for now. So, let's get down to specifics. Going off of the tutorial here: https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Flashing-firmware-with-USB-UART-converter.md Step 6 says to select the .hex file, but there isn't one. There is a .bin file, so I selected that. I don't think it worked. Windows doesn't recognize it as anything when I plug it in, and it doesn't appear in the game controllers list. FreeJoy configurator also doesn't see it. Any ideas? I appreciate the input from you folks, I feel like I'm getting very close to a usable, finished project, even if it's not exactly my own.
  4. Maybe I should start over... I have NO idea what I'm doing. I've spent weeks online trying to figure some of this stuff out, but where am I supposed to begin? Where do you learn this stuff? Brewnix, that looks similar to FreeJoy, and honestly, I'm thinking about giving one of those a try... but I don't even know how to do that. I'm not sure what I even need to download from github in order to have something to flash to the controller. Alex, I decided to look into the STM32CubeIDE, maybe playing around with that I can figure out what I need to do. Unfortunately, the link they emailed me is no good, it just gives me a "404, not found." I'm tempted to buy an Arduino board at this point, but while that will help me in the short term, it won't get me very far in the way of learning more about this stuff.
  5. Hello all, I am completely new to DIY electronics, and I'm looking to take the first baby steps toward my goal of an AV-8B (or maybe a bit of a Frankenstein) home cockpit. My first project is a switch box for the Harrier, built around the STM32. It probably won't be a permanent fixture, just a stepping stone. So far I've played with the STM32 a bit, just doing simple things like blink sketches. Unfortunately I haven't been able to find certain information in the tutorials I've found on youtube. I don't know how to make it show up in windows as a game controller, and once I do that, I'm not sure exactly what libraries I need, exactly what functions work with the STM32, etc. I've looked at FreeJoy but I don't think I need all that, and I'd really like to learn how to do that kind of thing myself, just on a smaller scale for now. I'm using an STM32F103C8T6 and the Arduino IDE because that seemed like it would be the easiest way to get started, with all the tutorials out there. There are just some gaps in my understanding of how to move forward with this project at this point. Any help you all can offer is greatly appreciated.
  6. Hello all! I'm relatively new to DCS (I remember playing Lock-On sometime in the last 10 years, but I couldn't even tell you exactly when). I just jumped back in a couple of months ago & bought the Harrier. I've been waiting for a Harrier simulator to come along since I first saw one at an airshow when I was a toddler. Another thing I've always wanted to do is build my own sim cockpit. Well, it's high time I got this passion of mine rolling. I'm starting off slow, because I'm completely new to DIY electronics. My first project will be a very simple switch box to include some essential functions (gear, flaps, water, etc.) that I want tactile switches for. I chose the STM32 microcontroller to build around, and I've gotten about as far as I can get with the tutorials I'm finding on Youtube. Since I'm not using an Arduino, it's a bit hard to find specific tutorials. I can make my STM32 blink, and probably do a few other things with it. But I don't know how to tell Windows it is a game controller with buttons I wish to do things with. I have been poking around & I know about FreeJoy & EasyJoy, but honestly they're more than I need, and I've learned enough about C++ in the last 2 months to write my own (very simple) code, once I get past a couple hurdles. I DO want to learn as much as I can though, this is not going to be a one-off project for me, which is why I want to do as much as I can from scratch. If anyone wants to help me out here, or the mods want to move me to the I/O or Home Cockpits forum, I'm cool with whatever. Just looking for some support. Thanks for your patience & help, feel free to point me to existing threads that I can't find, if I'm just blind. :pilotfly:
×
×
  • Create New...