Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Fabien Chouteau
    @Fabien-Chouteau
    It's not a CPU or RAM problem. The slow binary load comes from the st-link probe and driver. My guess is that there's a bottle neck in the USB communication, but since ST is not very open about the st-link probes firmware and all we have is a reverse engineered driver for it, I don't see how to improve the situation.
    On the other hand they do provide the st-link probe effectively for free which is nice.
    Frank Buss
    @FrankBuss
    ok, yeah, I noticed "Transfer rate: 24 KB/sec" in the debugger window, not light speed :-)
    Fabien Chouteau
    @Fabien-Chouteau
    Ok, so I don't see any problem with the delay. But there's an exception in your code:
    Unhandled Ada Exception: CONSTRAINT_ERROR
    Message: ada_synth.adb:70 range check failed
    It comes from here:
    Integer_16 (I * 432452) + Int_Sample;
    Frank Buss
    @FrankBuss
    yes, this was for testing
    strange, it doesn't work here when I use the delays, maybe something wrong how I compiled it? I clicked the "Build Target Build All" button in GPS
    Fabien Chouteau
    @Fabien-Chouteau
    If I comment this line and uncomment the one above. The program runs and I can hear a tone from the audio jack...
    Frank Buss
    @FrankBuss
    Ok, works here now too with the delays. I guess I tested it in my dirty build environment with mixed runtimes, then checked out it cleanly and didn't noticed the exception.
    I can see the exection kind of in the st-util window, 2 characters per line, how do so see this nice output?
    Frank Buss
    @FrankBuss
    and thanks for extending the deadline, maybe after all I can still get a first working version done until Monday :-)
    Fabien Chouteau
    @Fabien-Chouteau
    That would be great!
    BTW, do you know about my sample/synthesizer project? https://hackaday.io/project/19326-wee-noise-maker
    Frank Buss
    @FrankBuss
    nice, definitely needs my MIDI part
    image how much easier it is to play your noise maker with a real piano :-)
    Fabien Chouteau
    @Fabien-Chouteau
    It's on the roadmap :)
    Manuel A.Iglesias A.
    @miabbate_twitter
    The ST-Link doesn't support SWO, it uses semihosting, which happen to be very slow, so basically the advice is that don't use for code that is time sensitive and in short it sucks. The idea would be to upgrade the ST-Link with Segger which is now possible but I am not sure if it can use SWO since it needs the physical pin to output the serial data. If you want to solve at least the ugly output use openocd instead of st-link debugger. Also the debugger of gps suffer when you start inspecting variables and memory, suddenly hangs or even needs a reset . BY the way I am not seeing where it's stated that the deadline has been moved!
    Frank Buss
    @FrankBuss
    it was an eMail: "you will now have until Monday 18th 23:59"
    Frank Buss
    @FrankBuss
    MIDI-in is working now:
    https://github.com/FrankBuss/Ada_Synth
    @Fabien-Chouteau if you have a digital 3 V MIDI signal and a MIDI piano, you could now play music on it. But I added a nice automatic startup chord at reset as well :-)
    Tomorrow the fun part starts, implementing polyphonic audio, changing the generator parameters with the knobs etc.
    Fabien Chouteau
    @Fabien-Chouteau
    :+1:
    @miabbate_twitter did you make progress on the filesystem?
    Manuel A.Iglesias A.
    @miabbate_twitter
    HI Fabien, actually not, the problem exists, even after changing the block read size to 512, it's weird since sometimes if I run the code with breakpoints the Mount_Volume returns ok, otherwise it returns no_filesystem, so I end up giving up for now :(
    Fabien Chouteau
    @Fabien-Chouteau
    Too bad. But you already have a great project anyway :thumbsup:
    Manuel A.Iglesias A.
    @miabbate_twitter
    Three more days was too little deadline extension to make it work, actually It took me two days to document everything, instead I am working to have dns addition to ipstack as a bonus bogus ;)
    Frank Buss
    @FrankBuss
    @miabbate_twitter do you have a link to your project page? My MIDI synthesizer is now done, still missing polyphonic sound, but this should be easy to implement
    http://www.makewithada.org/entry/midisynthesizer
    Are there many entries for this competition? I think it is a bit rough for newbies like me to learn Ada, learn how to use the IDE, learn the STM32 libraries API etc. A full tutorial might be useful.
    Fabien Chouteau
    @Fabien-Chouteau
    @FrankBuss The list of entries is on the website : http://makewithada.org/entries
    We will send a survey after the results are announced. We would really appreciate any feedback that can help us improve the competition.
    Frank Buss
    @FrankBuss
    Thanks, interesting entries. But I like the hackaday.io style more, where you can see the progress of other projects while the contest is running, and which provides more tools for communication and collaboration. Maybe you can get them to host your next contest? Then you don't need to program all this stuff again yourself.
    I guess now that the contest has ended and the entries are probably frozen, it should be possible to click on each entry to see the detail page?
    Frank Buss
    @FrankBuss
    Besides their big Hackaday prize, they have smaller competitions regularly, see e.g. this one:
    https://hackaday.io/submissions/the-1kb-challenge/list
    Frank Buss
    @FrankBuss
    how's the judging coming along?
    can't wait to get my t-shirt :-)
    Fabien Chouteau
    @Fabien-Chouteau
    Voting is in progress :)
    Fabien Chouteau
    @Fabien-Chouteau
    The results are here: http://makewithada.org/
    Frank Buss
    @FrankBuss
    cool projects, congratulation to the winners, and thanks for organizing the contest
    joakim-strandberg
    @joakim-strandberg
    I agree with Frank Buss. Congratulations to the winners.
    @FrankBuss thanks for sharing the progress of your work on the MIDI synthesizer in this channel.
    Fabien Chouteau
    @Fabien-Chouteau
    Hi @/all
    We started a survey on the 2017 Make with Ada competition: https://www.surveymonkey.com/r/MWAC
    We would appreciate your feedback/help to improve the competition.
    Thanks in advance :)
    Luke A. Guest
    @Lucretia
    Can an entry be a port of something from another language?
    Fabien Chouteau
    @Fabien-Chouteau
    Sure, no problem
    Luke A. Guest
    @Lucretia
    Can it be desktop or does it have to be embedded on one of the supported boards?
    Fabien Chouteau
    @Fabien-Chouteau
    The goal is to design and implement an embedded software project where Ada and/or SPARK are the principal language technologies. Any environment meeting these conditions is acceptable. Judges will refer to this definition of embedded software.
    Fabien Chouteau
    @Fabien-Chouteau
    Hi @/all , Make with Ada 2018 is on! https://www.makewithada.org/